-
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.
Replies: 1 comment
-
The build target of SWR v2 is ES2018 🚀 🚀 |
Beta Was this translation helpful? Give feedback.
The build target of SWR v2 is ES2018 🚀 🚀
#2249