-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Bump default build.target
#19358
Comments
In the last meeting, we concluded that it would be nice to align with Baseline. For each major version, Vite will update the default
|
I feel like aligning with baseline is a great move But please don't rename |
Ah, that's a good point. I think |
Maybe it could be called |
I also think this is a good idea. I'd just combine the last two suggestions - |
Description
The current default
build.target
is a bit outdated.The reasons why this should be bumped:
Suggested solution
I propose bumping the target to:
this allows optional chaining and logical assignments to be kept as-is.
Maybe it can be bumped further more, but I think we should bump to this range at least.
I also propose renaming the special
'modules'
target to'defaults'
as it has been used as a default / recommended rather than the modules target (chrome60,firefox60,safari11
).Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: