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
@property
With the variables: true configuration option, PurgeCSS can remove unused variables declared like this:
variables: true
:root { --tw-rotate-x: rotateX(0); }
However, it doesn't remove the fairly recently introduced @property rule like this:
@property --tw-rotate-x-2 { syntax: '*'; inherits: false; initial-value: rotateX(0); }
npm run build
dist/assets
CSS variables declared using @property should be removed
N/A
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
With the
variables: true
configuration option, PurgeCSS can remove unused variables declared like this:However, it doesn't remove the fairly recently introduced
@property
rule like this:To Reproduce
npm run build
in the terminal.dist/assets
folder.Expected Behavior
CSS variables declared using
@property
should be removedEnvironment
N/A
Add any other context about the problem here
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: