Replies: 3 comments 16 replies
-
Does it affect |
Beta Was this translation helpful? Give feedback.
-
Ran into this issue recently with importing a 3rd party package, solution that worked was to use
This may block us from upgrading to Vite v5 |
Beta Was this translation helpful? Give feedback.
-
Anyone using Vite to bundle for Electron / VS Code extensions? The removal of this unfortunately brings a world of pain. Electron has a possible path forward at least as it supports ESM natively now, but VS Code remains blocked without native ESM yet. Edit: Setting |
Beta Was this translation helpful? Give feedback.
-
SSR CJS Format
In vite@3.0.0 we changed the default to SSR build to ESM and kept an option to use CJS as experimental for backward compatibility. Docs. Previous discussion
Starting a discussion to gather feedback on removing
ssr.format: 'cjs'
andlegacy.buildSsrCjsExternalHeuristics
in Vite 5. If you are using this feature, please share with us what is preventing the move to ESM for your SSR builds.Beta Was this translation helpful? Give feedback.
All reactions