Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Webpack 5 with DLLPlugin does create empty analysis (contents of chunks are not visible)

オープン
#399 コメント 2 件 リアクション 17 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript

調査の方向性

リンクされた webpack5-analyzer-dll-demo の再現環境を使用し、webpack4 と webpack5 の両方のディレクトリに依存関係をインストールして、それぞれの dll ディレクトリで npx webpack を実行します。dist の analyzer 出力を比較し、webpack 5 のレポートでは空の chunk が表示される一方で webpack 4 ではその内容が表示される理由に焦点を当てます。webpack 5 の chunk の内容が表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

status: Needs triage
Issue description

When using webpack 5 with a vendor webpack config that uses DLLPlugin, the webpack report created for this bundle does not display any contents within the chunks.

The following example uses the same code & webpack config, the only difference is the webpack version.

Webpack 4 (v4.44.2) Output:
image
Webpack 5 (v5.9.0) Output:
image

Technical info

Sample repository to reproduce this error can be found here (it's basically a copy of webpacks own dll example with installed webpack-bundle-analyzer):

  1. npm i in both webpack4, webpack5 directories
  2. npx webpack in both dll directories
  3. Analyzer output will be in dist (versions are also checked in)
Debug info

See above.

主要言語
JavaScript
スター
12.7k
フォーク
518
平均マージ
10日 13時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

webpack/webpack-bundle-analyzer のほかの issue

webpack/webpack-bundle-analyzer の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。