feat: align with @vitejs/plugin-legacy 5.3.2#8
feat: align with @vitejs/plugin-legacy 5.3.2#8CyanSalt merged 3 commits intoCyanSalt:mainfrom ModyQyW:main
Conversation
|
The reason is listed in the code before: |
|
Thx for your contribution! I noticed that vitejs/vite#15789 has been merged. Can you synchronize the changes to this PR? I think it might be important. |
|
Sorry I just noticed it's actually included. LGTM! |
I think there should be some inconsistency here. This behavior can ensure that the generated code is always correctly polyfilled, otherwise there may be some methods that are incompatible with browsers in the gap, which had occurred in my project with millions of users. Although I'm not sure if there is any difference in syntax conversion between babel and swc. |
I think we can just keep it. |
|
For new comers, now the |
closes #7