mangle-css-class-webpack-plugin icon indicating copy to clipboard operation
mangle-css-class-webpack-plugin copied to clipboard

Mangling for Tailwindcss in Vue3

Open eltorio opened this issue 2 years ago • 1 comments

This is the small change I use for mangling Tailwindcss in Vue3. Vue3 needs to parse .vue files. I also allow to begin the previous character can be ':' so sm:xxxxxx can be matched without rewriting the responsive prefix.

eltorio avatar Mar 31 '22 17:03 eltorio

@eltorio Sorry for the late reply!!

I thought the plugin doesn't work well with Vue. Is this different from the issue?

I also allow to begin the previous character can be ':' so sm:xxxxxx can be matched without rewriting the responsive prefix.

Did you try the option ignoreprefixregexp ? https://github.com/sndyuk/mangle-css-class-webpack-plugin#ignoreprefixregexp

sndyuk avatar May 22 '22 06:05 sndyuk