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 imagemin from 'gulp-imagemin';
|
||||
|
||||
|
||||
const sass = require('gulp-sass')(require('sass'));
|
||||
const postcss = require('gulp-postcss');
|
||||
const sassLint = require('gulp-sass-lint');
|
||||
|
@ -68,7 +67,7 @@ function sassBuild() {
|
|||
.pipe(sass({
|
||||
includePaths: PATHS.foundationScss
|
||||
})
|
||||
.on('error', $.sass.logError))
|
||||
.on('error', sass.logError))
|
||||
.pipe(postcss(postCssPlugins))
|
||||
.pipe($.if(PRODUCTION, $.cleanCss({ compatibility: 'ie11' })))
|
||||
.pipe($.if(!PRODUCTION, $.sourcemaps.write()))
|
||||
|
|
Loading…
Reference in a new issue