ember-cli-sass
ember-cli-sass copied to clipboard
[QUESTION] Should the app add the scss from the addon too?
I'm writing an Ember App and an Ember Addon that will be used in the app.
The addon uses Bootstrap and I want to use the Alternate Addon Usage approach. So I have the styles in app/styles/<addon-name>.scss
and I do @import bootstrap;
there.
When I use this addon in the App the build is failing because it can't do the bootstrap styles import. To fix that, I needed to add this into the ember-cli-build
of the app:
sassOptions: {
includePaths: ['node_modules/bootstrap/scss'],
},
Want to know if this is expected behavior. Thank you!