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