diff options
Diffstat (limited to 'gulpfile.js')
| -rw-r--r-- | gulpfile.js | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gulpfile.js b/gulpfile.js index dd5e46f..7f2ef74 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', 'public/error/*.html'], + html: ['public/*.html', 'public/projects/*.html', 'public/50*/*.html', 'public/thankyou/*.html', 'public/contact/*.html', 'public/error/*.html' ], ignore: ['.text-right', '.text-left'] })) .pipe(cssnano()) @@ -36,11 +36,17 @@ gulp.task('minifyhtml', function() { gulp.src('public/contact/*.html') .pipe(htmlmin({collapseWhitespace: true})) .pipe(gulp.dest('public/contact/')); - gulp.src('public/journal/*/*.html') + gulp.src('public/500/*.html') .pipe(htmlmin({collapseWhitespace: true})) - .pipe(gulp.dest('public/journal/')); - return gulp.src('public/journal/*.html') + .pipe(gulp.dest('public/500/')); + gulp.src('public/502/*.html') .pipe(htmlmin({collapseWhitespace: true})) - .pipe(gulp.dest('public/journal/')); + .pipe(gulp.dest('public/502/')); + gulp.src('public/503/*.html') + .pipe(htmlmin({collapseWhitespace: true})) + .pipe(gulp.dest('public/503/')); + return gulp.src('public/504/*.html') + .pipe(htmlmin({collapseWhitespace: true})) + .pipe(gulp.dest('public/504/')); }); |
