Update gulpfile.babel.js
This commit is contained in:
parent
3ba76262f5
commit
3e7977d3df
|
@ -47,13 +47,9 @@ task("processStyles", () => {
|
||||||
...(!isDevelopmentBuild
|
...(!isDevelopmentBuild
|
||||||
? [
|
? [
|
||||||
purgecss({
|
purgecss({
|
||||||
content: [`${SITE_ROOT}/**/*.html`],
|
content: ["**/*.html"],
|
||||||
extractors: [
|
defaultExtractor: content =>
|
||||||
{
|
content.match(/[\w-/:]+(?<!:)/g) || []
|
||||||
extractor: purgeForTailwind,
|
|
||||||
extensions: ["html", "js"]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}),
|
}),
|
||||||
autoprefixer(),
|
autoprefixer(),
|
||||||
cssnano()
|
cssnano()
|
||||||
|
|
Loading…
Reference in New Issue