chunkgitsha not included in generated stats
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, webpack
- Ambito
- build-system, tooling
Direzione di ricerca
Start by tracing the plugin's webpack integration and the stats.toJson({ hash: true, chunkgitsha: true }) call shown in the issue. Determine how chunkgitsha is currently generated and exposed, then verify that stats includes it and that a separate value can represent the latest commit SHA.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
First of all, thanks for a great plugin :)
I have a slight issue where the chunkgitsha does not seem to be included in the stats output (so I can't refer to it afterwards). I usually do something like:
var webpack = require('webpack');
var webpackConfig = require('../webpack-production.config');
webpack(webpackConfig, function(err, stats) {
var jsonstats = stats.toJson({ hash: true, chunkgitsha: true });
console.log('hash', jsonstats.hash); // this is the webpack compilation hash
console.log('chunkgitsha', jsonstats.chunkgitsha); // this is undefined
});
Would it be possible to include that in stats somehow?
Also, it would be great with an option to just get the latest commit's sha instead of the latest commit sha that affected the bundle. Maybe another variable, [gitsha] in addition to [chunkgitsha]?
- Lingua principale
- JavaScript
- Stelle
- 27
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di soundcloud/git-sha-webpack-plugin
-
Dependency DashboardAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 15/100
Tutte le issue di soundcloud/git-sha-webpack-plugin
Issue simili
-
curriculum documentation quality
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
githubnext/gh-aw-workshop#3897 ·
I maintainer di solito rispondono entro 2 giorni
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
Add: RSV Honduras FeedApertacheck:failed feeds:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
iptv-org/database#36179 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno