CRA migration Rsbuild, after js file compression, the spead operator in the production build is invalid #4827
-
CRA迁移Rsbuild,js文件压缩后生产环境中扩展运算符在函数调用时失效,类似test(...['333', '111']),test是一个函数,最后传过来的参数一个是原始数组,一个是undefined,设置minify: false禁用代码压缩可以正常输出,打开就不行了,有什么解决办法吗? |
Beta Was this translation helpful? Give feedback.
Answered by
chenjiahan
Mar 20, 2025
Replies: 1 comment 1 reply
-
This may be a SWC bug. Please try to create an issue in the SWC repository and provide a reproduction. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
xxxx1129
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This may be a SWC bug. Please try to create an issue in the SWC repository and provide a reproduction.
https://github.com/swc-project/swc