L
L
Leonid2016-08-23 17:18:55
Node.js
Leonid, 2016-08-23 17:18:55

How to include node-bourbon in gulpfile.js and include it in main.scss?

Downloaded and connected the node-bourbon plugin
my task
gulp.task('style:build', function () {
gulp.src(path.src.style)
.pipe(sourcemaps.init())
.pipe(sass({
includePaths: [require('node-bourbon').includePaths,'src/style/'],
outputStyle: 'compressed',
sourceMap: true,
errLogToConsole: true
}))
.pipe(prefixer())
.pipe(cssmin())
.pipe(sourcemaps.write())
.pipe(gulp.dest(path.build.css))
.pipe(reload({stream: true}));
});
What to do next?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question