diff --git a/gulp/tasks/sass.js b/gulp/tasks/sass.js index 5793149..b351e79 100644 --- a/gulp/tasks/sass.js +++ b/gulp/tasks/sass.js @@ -12,8 +12,8 @@ gulp.task('sass', function() { return gulp.src(config.styles.src) .pipe(sass({ - sourceComments: global.isProd ? 'none' : 'map', - sourceMap: 'sass', + sourceComments: global.isProd ? false : 'map', + sourceMap: global.isProd ? false : 'sass', outputStyle: global.isProd ? 'compressed' : 'nested' })) .on('error', handleErrors) @@ -21,4 +21,4 @@ gulp.task('sass', function() { .pipe(gulp.dest(config.styles.dest)) .pipe(gulpif(browserSync.active, browserSync.reload({ stream: true }))); -}); \ No newline at end of file +});