Webpack-bundle-analyzer: After migration to Angular 6 stats analyzer does not show full information

Created on 9 May 2018  路  8Comments  路  Source: webpack-contrib/webpack-bundle-analyzer

Issue description

I have migrated to Angular 6 and cannot see detailed info like it was the case with Angular 5
...

Technical info

  • Webpack Bundle Analyzer version: 2.11.1
  • Webpack version: 4.6.0
  • Node.js version: 9.8.0
  • npm/yarn version: 5.6.0
  • OS: Windows 10

Debug info

As a CLI. I am running command ng build --prod --stats-json

What other Webpack plugins were used? No, At least Angular CLI uses something under the hood

stats.zip

Ready for PR Approved Bug

Most helpful comment

Should be fixed in v2.11.2

All 8 comments

Try running

ng build --stats-json --build-optimizer=false --vendor-chunk=true

Same result:

image

Seems like the structure of stats.json have changed and now we incorrectly extract module information.

How soon you can think it can be fixed?

We will fix it when we have time

Should be fixed in v2.11.2

It is indeed fix'd with the new version for my current angular CLI project.
A big thank to your reactivity !

Great work thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zverexe picture zverexe  路  5Comments

s524797336 picture s524797336  路  8Comments

sompylasar picture sompylasar  路  7Comments

jamesgeorge007 picture jamesgeorge007  路  5Comments

deanshub picture deanshub  路  6Comments