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 not appear to work with addons #25

Closed runspired closed 1 year ago

runspired commented 5 years ago

Was hoping to use this to inspect the size of modules in the dummy app built for an addon, but it does not appear to work for such.

simonihmig commented 5 years ago

@runspired thanks for reporting! Do you see the loading page on /_analyze? If so, does it never stop loading, or what exactly happens?

Fwiw, the tests in this addon work with the addon's own dummy app, but maybe the case is different when used as a dependency in a different addon!?

runspired commented 5 years ago

I get an unrecognized url error so it seems it’s not getting registered. Digging through the code I don’t see an obvious reason for why that would be the case. It was in devDeoendencies, maybe I needed it in dependencies: will check.

simonihmig commented 5 years ago

Is it open-source? I can take a look if it is...

runspired commented 5 years ago

@simonihmig it is but I've pivoted away from it being an ember addon, and am only marginally continuing to use ember-cli as a harness (I'm building a performance reproduction app for a specific set of scenarios for the chrome team and all the extra framework stuff was getting in the way in the profiler of showing what I was trying to show)