diff --git a/gulpfile.js b/gulpfile.js index 5de0d62..2e7915a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -44,7 +44,7 @@ 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({ + /*.pipe(uncss({ html: [`${distPath}/**/*.html`], ignore: [/\w\.in/, ".fade", @@ -55,7 +55,7 @@ gulp.task("css", ['hugo'], () => ( /(#|\.)navbar(\-[a-zA-Z]+)?/, /(#|\.)dropdown(\-[a-zA-Z]+)?/, /(#|\.)carousel(\-[a-zA-Z]+)?/, - ]})) + ]}))*/ .pipe(cleanCSS()) .pipe(md5(10, `${distPath}/**/*.html`)) .pipe(gulp.dest('./'))