webpack / webpack/webpack-bundle-analyzer
Webpack 5 with DLLPlugin does create empty analysis (contents of chunks are not visible)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 12.7k
- Forks
- 514
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 4
Description
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:

Webpack 5 (v5.9.0) Output:

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):
npm iin both webpack4, webpack5 directoriesnpx webpackin both dll directories- Analyzer output will be in dist (versions are also checked in)
Debug info
See above.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the linked webpack5-analyzer-dll-demo reproduction, install dependencies in both webpack4 and webpack5 directories, and run npx webpack in each dll directory. Compare the analyzer output in dist, focusing on why the webpack 5 report shows empty chunks while webpack 4 displays their contents; done means webpack 5 chunk contents are visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100