1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 04:42:04 +02:00

[ticket/16133] Use cssnano instead of gulp-cssnano

PHPBB3-16133
This commit is contained in:
Marc Alexander 2019-08-19 18:12:26 +02:00
parent c8de75f304
commit 9468f1705c
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
3 changed files with 649 additions and 1920 deletions

View File

@ -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'

2558
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -48,10 +48,10 @@
"devDependencies": {
"acorn": "^7.0.0",
"braces": "^3.0.2",
"cssnano": "^4.1.10",
"del": "^5.0.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.0",
"gulp-cssnano": "^2.1.3",
"gulp-postcss": "^8.0.0",
"gulp-rename": "^1.4.0",
"gulp-sass": "^4.0.2",
@ -63,5 +63,6 @@
"stylelint": "^10.1.0",
"stylelint-order": "^3.0.1",
"xo": "^0.24.0"
}
},
"dependencies": {}
}