astro-rename
astro-rename copied to clipboard
Rename CSS Variables
Support renaming CSS Variables
@MrHBS this library use postcss-rename under the hook and it doesn't support rename css vars, so I can't add this feature. But you can request it in their issue #56.
I see this npm package in the issue of postcss-rename that compress css vars, maybe we can use it postcss-variable-compress.
@MrHBS can you test the v2 alpha? https://www.npmjs.com/package/astro-rename/v/2.0.0-alpha3?activeTab=versions