-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest @vitejs/plugin-legacy breaks ssr build #4818
Comments
I think this may be surfacing another bug, now that the banner includes the export. But the banner shouldn't be there. We have #4536 to disable plugin-legacy during SSR build, so maybe the solution is to merge it. @tjk would you check it out? |
Yes, when I wrote this check I kind of assumed there's only one entry and it's the client one. I'm not too familiar with ssr, so I don't know if legacy plugin should or shouldn't be ran during the server build. I took a look at the bundled I think it might be a good idea to add legacy+ssr test, so things like this can be caught in the future, maybe as a part of #4536 |
I left some random thoughts in there. I currently run the |
Describe the bug
Copied from #4767 (comment):
Reproduction
https://github.com/tjk/vite-ssr-plugin-legacy-build-issue
System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: