Skip to content
Snippets Groups Projects
Commit 5f6d6de3 authored by Ivica Puljic's avatar Ivica Puljic Committed by Ivica Puljic
Browse files

Issue #3351107 by pivica: Gulp SASS compilation is not reporting SASS compile errors

parent 89a23704
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ module.exports = function (gulp, sass, plugins, options) {
.pipe(sass({
outputStyle: 'expanded',
includePaths: options.sass.includePaths
}))
}).on('error', sass.logError))
.pipe(plugins.postcss(options.postcssOptions))
.pipe(plugins.stripCssComments())
.pipe(gulp.dest(options.sass.dest));
......@@ -62,7 +62,7 @@ module.exports = function (gulp, sass, plugins, options) {
.pipe(sass({
outputStyle: 'expanded',
includePaths: options.sass.includePaths,
}))
}).on('error', sass.logError))
.pipe(plugins.debug())
.pipe(plugins.postcss(options.postcssOptions))
.pipe(gulp.dest(options.sass.dest, {sourcemaps: '.'}));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment