I have a Meteor project with the following file structure:
.meteor client dashboard dashboard.scss client.scss
My main sass file is client.scss, which is located in the client folder.
If I define $ flat-button in client.scss. Then I can not use it in dashboard.css without adding import '../client'; . However, when I do this in multiple files, this leads to duplicate entries in the combined css file. If I do not import it, Meteor reports errors due to the fact that it did not find the variable.
Should I add settings to the sass compiler to make this work?
source share