-
SWR v2 is a great opportunity to rethink our build target setting because changing the build target is definitely a breaking change. Currently, the build target is ES5, which is the target version of bunchee. But IE is now officially out of support, which means we no longer have to support the ES5 environment. I've tested how the build setting affects the bundle size of
I think ES2017 is the best target version for us. To change the version, we have to change the target setting that bunchee has. |
Beta Was this translation helpful? Give feedback.
Answered by
koba04
Nov 28, 2022
Replies: 1 comment
-
The build target of SWR v2 is ES2018 🚀 🚀 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
koba04
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The build target of SWR v2 is ES2018 🚀 🚀
#2249