@samselikoff wrote:
I’m trying to figure out how to make a Sass file from my addon available so that other addons can
@import
it.
- If I put it under
addon/styles/addon.scss
, it gets auto-concat’ed intovendor.js
- If I put it under
app/styles/my-addon-name.scss
, then the host app can explicitly@import
it. (But I’m trying to get an intermediate addon to be able to@import
it.)- I’ve tried putting a test file under
addon/styles/foo.scss
and configuring a second addon’simportPaths
to point to that location, to no avail.I’m trying to understand at a higher level the flow/architecture that these style trees. I think that would help me narrow down the config I need.
So to start, let’s say Addon B depends on Addon A. What hook/tree should Addon B look for
*.scss
files in Addon A’saddon/styles
folder?
Posts: 3
Participants: 2