diff options
Diffstat (limited to 'gulpfile.js')
| -rw-r--r-- | gulpfile.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index 43c1167..dd5e46f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -13,7 +13,7 @@ gulp.task('concat', function() { gulp.task('uncss', function() { return gulp.src('static/concat.css') .pipe(uncss({ - html: ['public/*.html', 'public/projects/*.html', 'public/journal/*.html', 'public/journal/**/*.html', 'public/thankyou/*.html', 'public/contact/*.html'], + html: ['public/*.html', 'public/projects/*.html', 'public/journal/*.html', 'public/journal/**/*.html', 'public/thankyou/*.html', 'public/contact/*.html', 'public/error/*.html'], ignore: ['.text-right', '.text-left'] })) .pipe(cssnano()) @@ -27,6 +27,9 @@ gulp.task('minifyhtml', function() { gulp.src('public/projects/*.html') .pipe(htmlmin({collapseWhitespace: true})) .pipe(gulp.dest('public/projects/')); + gulp.src('public/error/*.html') + .pipe(htmlmin({collapseWhitespace: true})) + .pipe(gulp.dest('public/error/')); gulp.src('public/thankyou/*.html') .pipe(htmlmin({collapseWhitespace: true})) .pipe(gulp.dest('public/thankyou/')); |
