-
-
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
::v-deep code disappear #122
Comments
Yes - probably whitelisting the selector. |
I tried without success. It did not work with static generating. This is the scss:
I tried whitelisting like this:
|
Try adding like: |
still no luck |
In case these won't work, please try https://purgecss.com/safelisting.html#in-the-css-directly If that doesn't work either, could you provide a minimal reproduction? |
Still no luck. I created this repo as a minimal reproduction: https://github.com/vvvhung/purgecss-vdeep |
Could you try: purgeCSS: {
whitelistPatterns: [/::v-deep.*/]
} PS: In case you only want to purge Tailwind classes, then you can use the built-in purger of Tailwind |
�Yeah, it works. Thanks. |
My ::v-deep code to style the child things was purged. Is there any solution to prevent that?
The text was updated successfully, but these errors were encountered: