diff options
author | 2019-08-19 18:12:26 +0200 | |
---|---|---|
committer | 2019-08-19 18:12:26 +0200 | |
commit | 9468f1705ccbb8c1ae6cafda11272ddc7be2b977 (patch) | |
tree | e409cad3c389121fa6223ae8f705417d41541bd3 /gulpfile.js | |
parent | [ticket/16133] Update npm packages to latest versions (diff) | |
download | phpbb-9468f1705ccbb8c1ae6cafda11272ddc7be2b977.tar.gz phpbb-9468f1705ccbb8c1ae6cafda11272ddc7be2b977.tar.bz2 phpbb-9468f1705ccbb8c1ae6cafda11272ddc7be2b977.zip |
[ticket/16133] Use cssnano instead of gulp-cssnano
PHPBB3-16133
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js index c2a1822545..b2e008912a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -6,7 +6,7 @@ const autoprefixer = require('gulp-autoprefixer'); const sass = require('gulp-sass'); const rename = require('gulp-rename'); const sourcemaps = require('gulp-sourcemaps'); -const cssnano = require('gulp-cssnano'); +const cssnano = require('cssnano'); const postcss = require('gulp-postcss'); const stylefmt = require('gulp-stylefmt'); const sorting = require('postcss-sorting'); @@ -50,10 +50,10 @@ gulp.task('minify', () => { .pipe(sourcemaps.init()) .pipe( postcss([ - atimport() + atimport(), + cssnano() ]) ) - .pipe(cssnano()) .pipe(rename({ suffix: '.min', extname: '.css' |