diff options
| author | Max | 2017-05-15 13:28:57 +0200 |
|---|---|---|
| committer | Max | 2017-05-15 13:28:57 +0200 |
| commit | 6f5143eaab67f67ac3beb572d5487851f20502ed (patch) | |
| tree | f789f2b97ed67b0c584097dd74fbb59cd3091463 /gulpfile.js | |
| parent | 82b14feb2ca7796dc6a5c280c41680a803957273 (diff) | |
| download | iamfabulous.de-6f5143eaab67f67ac3beb572d5487851f20502ed.tar.gz | |
Removes old cruft.
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/')); }); |
