ember-cli-bundle-analyzer icon indicating copy to clipboard operation
ember-cli-bundle-analyzer copied to clipboard

Does not appear to work with addons

Open runspired opened this issue 6 years ago • 4 comments

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.

runspired avatar Jun 06 '19 04:06 runspired

@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!?

simonihmig avatar Jun 06 '19 09:06 simonihmig

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.

runspired avatar Jun 06 '19 18:06 runspired

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

simonihmig avatar Jun 06 '19 19:06 simonihmig

@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)

runspired avatar Jun 07 '19 03:06 runspired