Answer the question
In order to leave comments, you need to log in
css normolize.css is not connected via import saas, how to fix it?
There is a normalize.css file in node_modules. I want to include it, but it is not inserted into .scss by import. How to treat?
index.scss @import "normalize-css/normalize";
gulp
.pipe(sass({
includePaths: ['node_modules', path.join('src') ]
}))
Answer the question
In order to leave comments, you need to log in
Everything works, for some reason I created 2 css and styles folders and got confused in them
For example, I connect like this:
gulp.task('styles:vendor', function() {
gulp.src(mainBowerFiles({
"overrides": {
"normalize.css": {
"main": "./normalize.css"
},
"magnific-popup": {
"main": "./dist/magnific-popup.css"
}
}
}))
.pipe(cssFilter)
.pipe(concat('vendor.css'))
.pipe(gulpIf(env !== 'dev', minifyCSS()))
.pipe(gulp.dest(outputDir + 'css'))
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question