n4j1Br4ch1D / postcss-obfuscator

PostCSS plugin that helps you protect your CSS code by obfuscating class names and ids. with advanced customizable configuration.
MIT License
138 stars 5 forks source link

Use with SvelteKit + Tailwind? #21

Open sparksfly5 opened 11 months ago

sparksfly5 commented 11 months ago

Hello,

This plugin looks the best out of all the others and I would like to use it in conjunction with SvelteKit, but I am unable to get it to work. It transforms the class names successfully, but fails to do so in the .svelte files (yes I added .svelte to the extensions array in my PostCSS config).

There is another issue that was opened asking how to use it with SvelteKit (#17), but that issue had been closed with the unsatisfactory response of "Use this other library", which is not as flexible as this is.

I would be very happy if anybody could help me getting this to work.