chunkgitsha not included in generated stats
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, webpack
- 領域
- build-system, tooling
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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]?
- 主要言語
- JavaScript
- スター
- 27
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
soundcloud/git-sha-webpack-plugin のほかの issue
-
Dependency Dashboardオープン
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
soundcloud/git-sha-webpack-plugin の issue をすべて見る
似ている issue
-
新讀者走讀回報,照著一篇文章實際操作オープンdocumentation good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
automated issue report
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
lirantal/discoprint#29 ·
メンテナーはふだん 1 日以内に返信
-
feature-request
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
louislam/uptime-kuma#7914 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Code Cleanup dependencies
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
ProjectSidewalk/SidewalkWebpage#5609 ·
メンテナーはふだん 1 日以内に返信
-
help wanted javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
OWASP/cornucopia#3538 ·
メンテナーはふだん 1 日以内に返信