New issue
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
transformer variant group changes regular expressions #3206
Labels
Comments
1 task
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UnoCSS version
0.56.5
Describe the bug
when using the variant group transformer and including js/ts files in your unocss pipeline like:
unocss is changing the regular expressions with brackets in it.
like the camelizeRE from vue
becomes:
this happens also with user code:
checkout out
App.vue
in the reproduction and watch the Browser consolethe brackets gets eliminated from the regular expression
for the vuejs transformations, watch the stackblitz console and then comment out the
line
Reproduction
https://stackblitz.com/edit/unocss-unocss-krecms?file=src%2FApp.vue,vite.config.ts,src%2Fmain.ts
System Info
No response
Validations
The text was updated successfully, but these errors were encountered: