RodrigoTomeES / astro-rename

Astro-Rename is an Astro integration that brings postcss-rename functionality to your Astro project without the need for configuration.
https://www.npmjs.com/package/astro-rename
GNU General Public License v3.0
15 stars 4 forks source link

Rename CSS Variables #12

Open MrHBS opened 8 months ago

MrHBS commented 8 months ago

Support renaming CSS Variables

RodrigoTomeES commented 8 months ago

@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.

RodrigoTomeES commented 6 months ago

I see this npm package in the issue of postcss-rename that compress css vars, maybe we can use it postcss-variable-compress.

RodrigoTomeES commented 3 months ago

@MrHBS can you test the v2 alpha? https://www.npmjs.com/package/astro-rename/v/2.0.0-alpha3?activeTab=versions