I have an Ember addon which wraps the ‘@material’ google material design framework. I want to be able to import their SASS into my addons SASS and then have the consuming app import my addons SASS.
The framework uses SASS imports of the format
@import '@material/...' so in order for the SASS to build correctly you have to configure ember-cli-sass with
includePaths: ['node_modules'] which works fine, but has a massive impact on rebuild performance.
I would like to be able to include the SASS files for just this node module without having to watch the whole node_modules folder.
I have tried adding to
treeForStyles(tree) hook in my addon, which adds them to the styles tree but when including that path it complains that it doesn’t exist.
Is it possible to do something along those lines?