You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the vite implementation in Bridge diverges somewhat from within Nuxt 3. This is a problem for a couple of different reasons.
it increases the maintenance burden and doubles potential bug-surface
it is misleading for people migrating to nuxt 3, because the experience and compatibility is subtly different
One example is using @vitejs/plugin-legacy. The context for using it is the need for native ES module support in browsers. Otherwise, adopting vite for Nuxt 2 would mean unsupporting browsers that historically Nuxt 2 has supported. See browser support table on MDN.
I propose we align the implementations of vite in both Bridge & Nuxt 3, including (where possible) either removing use of @vitejs/plugin-legacy or porting it to the Nuxt 3 vite implementation.
Currently the vite implementation in Bridge diverges somewhat from within Nuxt 3. This is a problem for a couple of different reasons.
One example is using
@vitejs/plugin-legacy
. The context for using it is the need for native ES module support in browsers. Otherwise, adopting vite for Nuxt 2 would mean unsupporting browsers that historically Nuxt 2 has supported. See browser support table on MDN.I propose we align the implementations of vite in both Bridge & Nuxt 3, including (where possible) either removing use of
@vitejs/plugin-legacy
or porting it to the Nuxt 3 vite implementation.Related issues with
@vitejs/plugin-legacy
_nuxt
#89The text was updated successfully, but these errors were encountered: