simonihmig / ember-cli-bundle-analyzer

Analyze the size and contents of your Ember app's bundles
MIT License
99 stars 2 forks source link

Does it work with ember-auto-import addon? #17

Closed szimek closed 1 year ago

szimek commented 5 years ago

I haven't used Ember in a long time and I was quite surprised that I need an addon just to be able to import npm packages in my code. Anyway, my vendor bundle is pretty big and I wanted to check what's inside, but it looks like this addon doesn't show libraries imported via ember-auto-import addon. E.g. I'm importing firebase npm package and can't see it anywhere on the /_analyze page.

Is there a way to see packages imported with ember-auto-import as well?

simonihmig commented 5 years ago

Yes, unfortunately that is a known problem. It is a problem with the way ember-auto-import works. Here's an issue for the upstream library that is used by this addon: https://github.com/stefanpenner/broccoli-concat-analyser/issues/34

Nothing we can do about it here for now, but keeping this open for other users.

mansona commented 4 years ago

What is the status of this now that https://github.com/stefanpenner/broccoli-concat-analyser/issues/34 has been closed? 🤔 is it just that it's not possible? is the current best solution to use @ef4's proposed solution to use webpack-bundle-analyzer too?

simonihmig commented 1 year ago

Fixed by #26