mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
minify inline js & css
This commit is contained in:
parent
3a5fde7e0c
commit
ff7bba4dad
@ -105,6 +105,7 @@ var BANNER = [
|
|||||||
''
|
''
|
||||||
].join('\n');
|
].join('\n');
|
||||||
|
|
||||||
|
|
||||||
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
// Tasks
|
// Tasks
|
||||||
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
@ -154,7 +155,9 @@ gulp.task('html', function() {
|
|||||||
useShortDoctype: true,
|
useShortDoctype: true,
|
||||||
collapseBooleanAttributes: true,
|
collapseBooleanAttributes: true,
|
||||||
removeRedundantAttributes: true,
|
removeRedundantAttributes: true,
|
||||||
removeEmptyAttributes: true
|
removeEmptyAttributes: true,
|
||||||
|
minifyJS: true,
|
||||||
|
minifyCSS: true
|
||||||
})))
|
})))
|
||||||
.pipe(gulp.dest(DIST))
|
.pipe(gulp.dest(DIST))
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user