Skip to content
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

React 转换 transformCode 在某些场景下转换错误 #3

Open
evoforce opened this issue May 17, 2024 · 1 comment
Open

React 转换 transformCode 在某些场景下转换错误 #3

evoforce opened this issue May 17, 2024 · 1 comment

Comments

@evoforce
Copy link

对应的应该是className={}的场景
在处理以下class写法时转换错误
1.
className={styles['app-container']}

className={avatar-field__input ${value ? '' : 'border'}}

@MellowCo
Copy link
Owner

正则太难写了 🥲

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants