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

Created on 30 Nov 2020  路  2Comments  路  Source: webpack-contrib/webpack-bundle-analyzer

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.

Needs triage

Most helpful comment

Please add a :+1: to the issue instead of adding a +1 as own comment, unless you have more to add.

All 2 comments

Please add a :+1: to the issue instead of adding a +1 as own comment, unless you have more to add.

Was this page helpful?
0 / 5 - 0 ratings