diff --git a/gulpfile.js b/gulpfile.js index 760440c..a0c20fd 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -76,7 +76,7 @@ const styles = parallel(...Object.entries(paths.styles.bundles).map(([name, item Math.floor(Date.now() / 1000) )) .pipe(postcss([ - cssnano({ preset: 'advanced' }) + cssnano({ preset: require('cssnano/presets/advanced') }) ])) .pipe(concat(name)) .pipe(gzip({