Bump gulp-sass from 4.1.1 to 5.0.0 #309
|
@ -15,7 +15,7 @@ const { debug } = require('console');
|
||||||
|
|
||||||
const $ = gulpLoadPlugins()
|
const $ = gulpLoadPlugins()
|
||||||
|
|
||||||
$.sass.compiler = require('sass');
|
const sass = require('gulp-sass')(require('sass'));
|
||||||
|
|
||||||
/* ============================================================================
|
/* ============================================================================
|
||||||
Base consts
|
Base consts
|
||||||
|
@ -82,11 +82,11 @@ gulp.task('styles', () => {
|
||||||
// sourcemap initialization
|
// sourcemap initialization
|
||||||
.pipe($.if(isDev, $.sourcemaps.init()))
|
.pipe($.if(isDev, $.sourcemaps.init()))
|
||||||
// sass compilation
|
// sass compilation
|
||||||
.pipe($.sass.sync({
|
.pipe(sass.sync({
|
||||||
outputStyle: 'expanded',
|
outputStyle: 'expanded',
|
||||||
precision: 7,
|
precision: 7,
|
||||||
includePaths: ['.'],
|
includePaths: ['.'],
|
||||||
}).on('error', $.sass.logError))
|
}).on('error', sass.logError))
|
||||||
// autoprefix
|
// autoprefix
|
||||||
.pipe($.autoprefixer())
|
.pipe($.autoprefixer())
|
||||||
// out stream size
|
// out stream size
|
||||||
|
|
Loading…
Reference in a new issue