Update gulpfile.babel.js
This commit is contained in:
parent
3ba76262f5
commit
3e7977d3df
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue