-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
swc v1.3.102 minify broke antd theme #8475
Comments
@nuintun Is v1.3.102 the first version that breaks antd theme? |
@kdy1 I tested and found that it started from v1.3.99. PS: v1.3.96 is good, v1.3.97- v1.3.98 have been unpublished, so I did not test it. |
The main cause is swc bundle differs between es5 and es6. @ctrl/tinycolor targets
And when swc bundle template string, the result will be escaped one more time, |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the bug
Minify code with swc.
ant-design/ant-design#46719
Input code
No response
Config
No response
Playground link (or link to the minimal reproduction)
ant-design/ant-design#46719
SWC Info output
No response
Expected behavior
Fix code minify.
Actual behavior
No response
Version
1.3.102
Additional context
No response
The text was updated successfully, but these errors were encountered: