-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
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
Support for special comments #48
Comments
This module is using purgecss under the hood, so it should be already possible |
This doesn't seem to be working as expected. I added |
I'm having the same issue. Css inside of a /* purgecss start ignore / and / purgecss end ignore */ are being purged from production bundle. (When I use |
Just confirming, this is still the case |
In webpack we need to add ! to the comment:
But it only works with these comments. not others. |
Resolved via linked PR |
Is there are any way to keep analyze special whitelist comments before it will strip?
https://github.com/FullHuman/purgecss-docs/blob/master/whitelisting.md
/* purgecss ignore */
/* purgecss start ignore */
The text was updated successfully, but these errors were encountered: