@vitejs/plugin-legacy: What are the difference between targets
and modernTargets
?
#19038
Open
1 of 4 tasks
Labels
Documentation is
Explain in Detail
Why there are both
targets
andmodernTargets
?I think legacy and modern are opposite, is
targets
for maximum compatibility andmodernTargets
used to seperate legacy and modern? But whytargets
default value is newer thanmodernTargets
default value?When should I set
targets
and when to setmoderTargets
?Your Suggestion for Changes
Please add more information about legacy and modern option's difference, including usage, design intention and samples, and so on.
Reproduction
No response
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: