Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After migration to Angular 6 stats analyzer does not show full information #174

Closed
vytautas-pranskunas- opened this issue May 9, 2018 · 8 comments

Comments

@vytautas-pranskunas-
Copy link

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

@valscion
Copy link
Member

valscion commented May 9, 2018

Try running

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

@vytautas-pranskunas-
Copy link
Author

Same result:

image

@th0r
Copy link
Collaborator

th0r commented May 9, 2018

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

@vytautas-pranskunas-
Copy link
Author

How soon you can think it can be fixed?

@valscion
Copy link
Member

valscion commented May 9, 2018

We will fix it when we have time

@th0r
Copy link
Collaborator

th0r commented May 9, 2018

Should be fixed in v2.11.2

@TomDemulierChevret
Copy link

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

@jpduckwo
Copy link

jpduckwo commented Jul 7, 2018

Great work thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants