chunkgitsha not included in generated stats
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript, webpack
- Área
- build-system, tooling
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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]?
- Lenguaje dominante
- JavaScript
- Estrellas
- 27
- Forks
- 3
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de soundcloud/git-sha-webpack-plugin
-
Dependency DashboardAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 15/100
Todos los issues de soundcloud/git-sha-webpack-plugin
Issues similares
-
Add google analyticsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
NCAR/music-box-interactive#628 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
remotion-dev/remotion#11847 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
phoenixframework/phoenix_live_view#4456 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
AllTheMods/ATM-10#4436 ·
Los mantenedores suelen responder en 5 días