OSDN Git Service
(root)
/
oi-wiki
/
main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc82e1b
)
feat: minify css in html
author
Ir1d
<sirius.caffrey@gmail.com>
Fri, 8 Feb 2019 15:21:45 +0000
(23:21 +0800)
committer
Ir1d
<sirius.caffrey@gmail.com>
Fri, 8 Feb 2019 15:21:45 +0000
(23:21 +0800)
gulpfile.js
patch
|
blob
|
history
diff --git
a/gulpfile.js
b/gulpfile.js
index
3d84ecd
..
a9f8138
100644
(file)
--- a/
gulpfile.js
+++ b/
gulpfile.js
@@
-8,6
+8,7
@@
gulp.task('minify:html', () => {
.pipe(htmlmin({
collapseWhitespace: true,
minifyJS: true,
+ minifyCSS: true,
minifyURLs: true,
removeComments: true,
removeOptionalTags: true,