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
SSR deps don't seem to be externalized by default (and even when added to ssr.external). With legacy.buildPluginCommonjs set to true. (Same thing as #8880: vite-plugin-ssr ist not externalized even though it should.)
The reproduction linked here is the same reproduction as the one linked at #8880 but with legacy.buildPluginCommonjs set to true.
Note that the reproduction is green in vite-plugin-ssr's CI (the reproduction is a subset of the CI). The difference with the CI is that vite-plugin-ssr is symlinked in the CI. So I'm suspecting some kind of node_modules if-branch to be the culprit.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
SSR deps don't seem to be externalized by default (and even when added to
ssr.external
). Withlegacy.buildPluginCommonjs
set totrue
. (Same thing as #8880: vite-plugin-ssr ist not externalized even though it should.)The reproduction linked here is the same reproduction as the one linked at #8880 but with
legacy.buildPluginCommonjs
set totrue
.Note that the reproduction is green in vite-plugin-ssr's CI (the reproduction is a subset of the CI). The difference with the CI is that vite-plugin-ssr is symlinked in the CI. So I'm suspecting some kind of
node_modules
if-branch to be the culprit.Reproduction
https://github.com/brillout/vite-3-legacy-build-bug
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: