add "custom-editor-style" to minify process
This commit is contained in:
parent
ac0713dfca
commit
16144fd330
14
gulpfile.js
14
gulpfile.js
|
@ -107,10 +107,18 @@ gulp.task('cssnano', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('minifycss', function () {
|
gulp.task('minifycss', function () {
|
||||||
|
|
||||||
return gulp
|
return gulp
|
||||||
.src(`${paths.css}/theme.css`)
|
.src([
|
||||||
.pipe(sourcemaps.init({ loadMaps: true }))
|
`${paths.css}/custom-editor-style.css`,
|
||||||
.pipe(cleanCSS({ compatibility: '*' }))
|
`${paths.css}/theme.css`,
|
||||||
|
])
|
||||||
|
.pipe(sourcemaps.init({
|
||||||
|
loadMaps: true
|
||||||
|
}))
|
||||||
|
.pipe(cleanCSS({
|
||||||
|
compatibility: '*'
|
||||||
|
}))
|
||||||
.pipe(
|
.pipe(
|
||||||
plumber({
|
plumber({
|
||||||
errorHandler: function (err) {
|
errorHandler: function (err) {
|
||||||
|
|
Reference in New Issue