Closed LuXDAmore closed 4 years ago
Fixed for me with:
{
purgeCSS: {
extractors: () => [
{
extractor: content => ( content || '' ).match(
/[A-z0-9-:\\/]+/g
),
extensions: [
'html',
'vue',
'js',
],
},
],
},
}
Upgrading to PurgeCSS 2 should be part of the next major version 👍🏻
Just created a PR including a backwards compatible function check, therefore a non breaking change.
I've update to the new version of PurgeCSS (v2.0.3) and there is an issue now during the build: