Answer the question
In order to leave comments, you need to log in
@import not working in gulp-sass, how did you solve the problem?
I've read everything I can on this subject. But the problem is not solved.
https://github.com/dlmanning/gulp-sass/issues/1
In the task I registered the option
.pipe(sass({includePaths: ['source/css/components']}))
I try to import in different ways, it doesn't work.
Tried -
@import '*';
@import '/*';
@import 'components/*';
The problem is always the same
Error: source/css/common.scss
14:9 file to import not found or unreadable: components/*
Answer the question
In order to leave comments, you need to log in
necropost, but still. struggled with it myself. I found the solution on github - link to the comment with the solution
in sublime text, go to user settings and add the line "atomic_save": true
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question