ember-cli-sass icon indicating copy to clipboard operation
ember-cli-sass copied to clipboard

[QUESTION] Should the app add the scss from the addon too?

Open rogeraraujo90 opened this issue 2 years ago • 0 comments

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!

rogeraraujo90 avatar Feb 11 '23 16:02 rogeraraujo90