summaryrefslogtreecommitdiff
path: root/gulpfile.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-12-08 14:03:14 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-12-08 14:03:14 +0900
commitdd8a6a12ba10726a29be7fc1f66c14ce366abbdc (patch)
treedb598c6dfa1f3f8b1536095f3f0be2e4b7340143 /gulpfile.ts
parentv3263 (diff)
downloadsharkey-dd8a6a12ba10726a29be7fc1f66c14ce366abbdc.tar.gz
sharkey-dd8a6a12ba10726a29be7fc1f66c14ce366abbdc.tar.bz2
sharkey-dd8a6a12ba10726a29be7fc1f66c14ce366abbdc.zip
Minify CSS
Diffstat (limited to 'gulpfile.ts')
-rw-r--r--gulpfile.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/gulpfile.ts b/gulpfile.ts
index dd8fc7a63b..cb72272130 100644
--- a/gulpfile.ts
+++ b/gulpfile.ts
@@ -210,7 +210,10 @@ gulp.task('build:client:pug', [
// 属性の値がデフォルトと同じなら省略する e.g.
// <input type="text"> to
// <input>
- removeRedundantAttributes: true
+ removeRedundantAttributes: true,
+
+ // CSSも圧縮する
+ minifyCSS: true
}))
.pipe(gulp.dest('./built/web/app/'))
);