Skip to content
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

fix(scoped-css): whitelist data-v-* attributes #75

Merged
merged 1 commit into from
Mar 9, 2020

Conversation

simllll
Copy link
Contributor

@simllll simllll commented Feb 3, 2020

purgecss 2.x removes unused classes when attributes do not match. this is the case when scoped css is used, therefore whitelisting of data-v-* is required.

this is only needed for "webpack" mode, as with the purgecss mode the classes are not scoped yet.

FullHuman/purgecss#277 (comment)

Beware, depends on FullHuman/purgecss#279 which is not merged.

@simllll
Copy link
Contributor Author

simllll commented Feb 3, 2020

Depending pr has landed and new release is already out!

@simllll simllll requested a review from manniL February 3, 2020 21:26
@manniL manniL merged commit f9942de into Developmint:master Mar 9, 2020
@manniL
Copy link
Member

manniL commented Mar 9, 2020

Thank you ☺️

@manniL manniL mentioned this pull request Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants