I’m still trying to get adjusted to using brunch and I’m running into a bit of difficulty getting the modular scale plugin up and running.
I’ve installed sass-brunch and configured it as follows:
plugins: {
sass: {
mode: "native",
precision: 8
}
}
I have installed the modularscale-sass library via npm and configured it as follows
npm: {
enabled: true,
styles: {
modularscale: ["modularscale-sass/stylesheets/modularscale"]
}
}
The file path matches the .scss file listed in the source, however I get the following error when I load the page:
File to import not found or unreadable: modularscale
Parent style sheet: /Users/thomascioppettini/scalpel/scalpel/web/static/css/base/typography.scss Error: File to import not found or unreadable: modularscale
Parent style sheet: /Users/thomascioppettini/scalpel/scalpel/web/static/css/base/typography.scss
>> @import 'modularscale';
Can anyone provide any guidance on what I’m doing wrong? I feel like I’ve followed the instructions but I have no clue as to why this is failing. Any help would be greatly appreciated.