SSR web worker build with noExternal: true
omit dynamic imports
#9385
Labels
p4-important
Violate documented behavior or significantly improves performance (priority)
regression
The issue only appears after a new release
Describe the bug
I am trying to update a SSR Vue app to
vite@3.0.3
and deploy to a Cloudflare Worker.On Cloudflare I'm getting a warn:
"[Vue warn]: Component <Anonymous> is missing template or render function."
On client side I'm getting an hydration error.
Works properly on dev mode.
As far as I understand the issue is related to missing dynamic imports in the server bundle.
Cloudflare Workers don't support dynamic imports. 😕
I reproduce the behavior on StackBlitz.
Am I doing something wrong?
Reproduction
https://stackblitz.com/edit/node-tmtkzw
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: