Replies: 1 comment
-
In this case you need to specify |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue description
The visualization in
statsmode looks like expected:But in
parsedmode, it seems to indicate that most code is inlined intoindex.js(which is the entry point for the UMD library):Is this a bug in
webpack-bundle-analyzeror does theparsedmode accurately reflect the structure of the output bundle?Any idea what could be causing this (especially if it isn't a bug)?
Technical info
System: OS: Linux 5.8 Debian GNU/Linux 10 (buster) 10 (buster) CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 46.31 GB / 62.50 GB Container: Yes Shell: 5.0.3 - /bin/bash Binaries: Node: 14.11.0 - ~/node-v14.11.0-linux-x64/bin/node npm: 6.14.8 - ~/node-v14.11.0-linux-x64/bin/npm npmPackages: webpack: ^5.20.0 => 5.20.0 webpack-bundle-analyzer: ^4.4.0 => 4.4.0 webpack-cli: ^4.5.0 => 4.5.0Debug info
Just in case, I set
optimization.concatenateModulesanddevtooltofalsein the webpack configuration, and then ran:(Note that if
stats.jsonisn't in the same directory as where webpack puts the bundles, thewebpack-bundle-analyzerCLI won't find them. Another bug?)The source code of the project is available here.
Beta Was this translation helpful? Give feedback.
All reactions