I suggest that we consider covering all browsers supported by Vue 3, by adapting Vite configuration. Proper list seems to be fully supports es6: https://browsersl.ist/#q=fully+supports+es6, meaning:
Chrome 51 released in 2016
Edge 15 released in 2017
Firefox 54 released in 2017
Opera 38 released in 2016
Safari 10 on macOS/iOS released in 2016
Not sure about browser for phones, data on caniuse.com seems erroneous/incomplete
We need to consider supporting more browsers than are supported by default in Vite.
According to https://github.com/vitejs/vite/tree/main/packages/plugin-legacy, Vite's default browser support baseline is Native ESM, native ESM dynamic import, and import.meta.
Vue.JS 3 baseline is browsers with native ES2015 support.
I suggest that we consider covering all browsers supported by Vue 3, by adapting Vite configuration. Proper list seems to be
fully supports es6
: https://browsersl.ist/#q=fully+supports+es6, meaning:Sample configs for vite-plugin-legacy are available at https://github.com/vitejs/vite/discussions/10519