Closed tristan-mcdonald closed 7 years ago
Here are the relevant parts of the gulpfile:
const paths = { css: { files: './assets/sass/**/*', entry: './assets/sass/site.scss', plain: './assets/sass/css/**/*', } return gulp .src(paths.css.entry) .pipe(sass({ includePaths: ['./node_modules/breakpoint-sass/stylesheets'] }).on('error', sass.logError))
And in the site.scss I'm including it like this:
@import 'breakpoint-sass'; @import 'breakpoint-slicer';
When I run gulp I'm getting an error:
Message: assets\sass\site.scss Error: File to import not found or unreadable: breakpoint-sass.
assets and node_modules are both in the root directory. Any help really appreciated!
I doubt it's a breakpoint-slicer issue. Are you able to import other Sass libraries installed the same way?
breakpoint-slicer
I haven't yet tried but I think you're right. I'll ask on Stack Overflow!
Here are the relevant parts of the gulpfile:
And in the site.scss I'm including it like this:
When I run gulp I'm getting an error:
assets and node_modules are both in the root directory. Any help really appreciated!