ember-component-css icon indicating copy to clipboard operation
ember-component-css copied to clipboard

My addon's treeForAddonStyles is not getting called when depending on this addon

Open samselikoff opened this issue 7 years ago • 0 comments

👋 maintainers of this excellent addon!

I'm working on ember-cli-addon-docs, which depends on ember-component-css, and I was trying to define a treeForAddonStyles() hook in my index.js. It wasn't getting called and I was curious why, until I finally tracked it down to this addon. Once I remove this addon from my devDependencies, my hook was getting called.

I'm guessing it has something to do with not calling super here, in the call to treeForParentAddonStyles.

The fix could be that easy, but I also know that some of these hooks don't actually have super so it's not that easy.

Anyway, I need to be able to call treeForAddonStyles in my addon so hopefully we can figure out how to make it work!

samselikoff avatar Sep 08 '18 19:09 samselikoff