Commit 97358011 authored by Nikolay Gromov's avatar Nikolay Gromov

Багфикс: ошибка в SCSS ломала дальнейшую сборку стилей

parent a829e476
......@@ -214,7 +214,12 @@ function compileSass() {
`${dir.src}scss/style.scss`,
`${dir.blocks}blocks-library/blocks-library.scss`,
], { sourcemaps: true })
.pipe(plumber())
.pipe(plumber({
errorHandler: function (err) {
console.log(err.message);
this.emit('end');
}
}))
.pipe(debug({title: 'Compiles:'}))
.pipe(sass({includePaths: [__dirname+'/']}))
.pipe(postcss(postCssPlugins))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment