From 58cfd0ad74d7ef8f15cd88e421e826f37515111b Mon Sep 17 00:00:00 2001 From: chris062689 Date: Sun, 4 Jun 2017 12:07:08 -0400 Subject: [PATCH] Temporarily removing gulp task removing unused CSS. --- gulpfile.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 5de0d62..5bc473d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -44,18 +44,6 @@ gulp.task('hugo', ['setup'], function (cb) { gulp.task("css", ['hugo'], () => ( gulp.src(`${distPath}/css/**/*.css`, {base: './'}) .pipe(postcss([cssnext(), cssImport({from: `${distPath}/css/main.css`})])) - .pipe(uncss({ - html: [`${distPath}/**/*.html`], - ignore: [/\w\.in/, - ".fade", - ".collapse", - ".collapsing", - ".table", - ".thumbnail", - /(#|\.)navbar(\-[a-zA-Z]+)?/, - /(#|\.)dropdown(\-[a-zA-Z]+)?/, - /(#|\.)carousel(\-[a-zA-Z]+)?/, - ]})) .pipe(cleanCSS()) .pipe(md5(10, `${distPath}/**/*.html`)) .pipe(gulp.dest('./'))