diff options
Diffstat (limited to 'gulpfile.js')
| -rw-r--r-- | gulpfile.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js index e413a14..43c1167 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'], + html: ['public/*.html', 'public/projects/*.html', 'public/journal/*.html', 'public/journal/**/*.html', 'public/thankyou/*.html', 'public/contact/*.html'], ignore: ['.text-right', '.text-left'] })) .pipe(cssnano()) @@ -27,6 +27,12 @@ gulp.task('minifyhtml', function() { gulp.src('public/projects/*.html') .pipe(htmlmin({collapseWhitespace: true})) .pipe(gulp.dest('public/projects/')); + gulp.src('public/thankyou/*.html') + .pipe(htmlmin({collapseWhitespace: true})) + .pipe(gulp.dest('public/thankyou/')); + gulp.src('public/contact/*.html') + .pipe(htmlmin({collapseWhitespace: true})) + .pipe(gulp.dest('public/contact/')); gulp.src('public/journal/*/*.html') .pipe(htmlmin({collapseWhitespace: true})) .pipe(gulp.dest('public/journal/')); |
