We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've update to the new version of PurgeCSS (v2.0.3) and there is an issue now during the build:
TypeError: Class constructor extractor cannot be invoked without 'new'
The text was updated successfully, but these errors were encountered:
There is an issue opened on the repo of PurgeCSS
Sorry, something went wrong.
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.
manniL
Successfully merging a pull request may close this issue.
I've update to the new version of PurgeCSS (v2.0.3) and there is an issue now during the build:
The text was updated successfully, but these errors were encountered: