openzim / youtube

Create a ZIM file from a Youtube channel/username/playlist
GNU General Public License v3.0
39 stars 26 forks source link

New UI: add support for old browsers #243

Open benoit74 opened 1 week ago

benoit74 commented 1 week ago

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