You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unocss is changing the regular expressions with brackets in it.
like the camelizeRE from vue
varcamelizeRE=/-(\w)/g;
becomes:
varcamelizeRE=/-\w/g;
this happens also with user code:
checkout out App.vue in the reproduction and watch the Browser console
the brackets gets eliminated from the regular expression
for the vuejs transformations, watch the stackblitz console and then comment out the
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.
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: