Update listener callback for node v21 compatibility
This commit is contained in:
parent
e5ee7603c2
commit
e74a3cc9c8
1 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,6 @@ import named from 'vinyl-named';
|
||||||
import autoprefixer from 'autoprefixer';
|
import autoprefixer from 'autoprefixer';
|
||||||
import imagemin from 'gulp-imagemin';
|
import imagemin from 'gulp-imagemin';
|
||||||
|
|
||||||
|
|
||||||
const sass = require('gulp-sass')(require('sass'));
|
const sass = require('gulp-sass')(require('sass'));
|
||||||
const postcss = require('gulp-postcss');
|
const postcss = require('gulp-postcss');
|
||||||
const sassLint = require('gulp-sass-lint');
|
const sassLint = require('gulp-sass-lint');
|
||||||
|
@ -68,7 +67,7 @@ function sassBuild() {
|
||||||
.pipe(sass({
|
.pipe(sass({
|
||||||
includePaths: PATHS.foundationScss
|
includePaths: PATHS.foundationScss
|
||||||
})
|
})
|
||||||
.on('error', $.sass.logError))
|
.on('error', sass.logError))
|
||||||
.pipe(postcss(postCssPlugins))
|
.pipe(postcss(postCssPlugins))
|
||||||
.pipe($.if(PRODUCTION, $.cleanCss({ compatibility: 'ie11' })))
|
.pipe($.if(PRODUCTION, $.cleanCss({ compatibility: 'ie11' })))
|
||||||
.pipe($.if(!PRODUCTION, $.sourcemaps.write()))
|
.pipe($.if(!PRODUCTION, $.sourcemaps.write()))
|
||||||
|
|
Loading…
Reference in a new issue