Update gulpfile.babel.js

This commit is contained in:
Taylor Bryant 2020-01-26 00:07:31 -06:00 committed by GitHub
parent 3ba76262f5
commit 3e7977d3df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -47,13 +47,9 @@ task("processStyles", () => {
...(!isDevelopmentBuild
? [
purgecss({
content: [`${SITE_ROOT}/**/*.html`],
extractors: [
{
extractor: purgeForTailwind,
extensions: ["html", "js"]
}
]
content: ["**/*.html"],
defaultExtractor: content =>
content.match(/[\w-/:]+(?<!:)/g) || []
}),
autoprefixer(),
cssnano()