Split Gulp tasks into their own files
This commit is contained in:
parent
c743e5f9f3
commit
5e8b52c338
11 changed files with 51 additions and 51 deletions
5
gulp/minify-prod-html.js
Normal file
5
gulp/minify-prod-html.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
gulp.task('minify-prod-html', function () {
|
||||
gulp.src('output_prod/**/*.html')
|
||||
.pipe(plugins.htmlmin({ collapseWhitespace: true }))
|
||||
.pipe(gulp.dest('output_prod'));
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue