1
0
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:
Matthias Kretschmann 2015-11-21 00:10:20 +01:00
parent 3a5fde7e0c
commit ff7bba4dad

View File

@ -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))
}); });