Another esm fallback through AMD/requirejs #5754
morlay
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
DEMO: https://morlay.github.io/vite-presets/
SRC: https://github.com/morlay/vite-presets/tree/main/src (unpublished, just for showcase)
ESM is not fully supported, espcially in web worker (I couldn't make my simple app works with
@vitejs/plugin-legacy
and SystemJS).If we want to use vite for now to make our web application to support more browsers, we have to bundle files without ESM.
Beta Was this translation helpful? Give feedback.
All reactions