-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: align with @vitejs/plugin-legacy 5.3.2 #8
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