We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
?sharedworker
I found #23 but that seems to only apply to inline imports.
It runs without error when in dev. But running vite build causes this error:
Error: Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit: (vite:worker) transform "/path-to-project/file.sharedworker.ts?sharedworker" at process.handleBeforeExit (file:///path-to-project/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:25257:28) at Object.onceWrapper (node:events:626:26) at process.emit (node:events:511:28)
The text was updated successfully, but these errors were encountered:
Hi,
I just tested a basic example of using a shared worker, it works both in dev and build. Can you provide a small reproduction?
Why reproductions are required
Sorry, something went wrong.
It ended up being a circular dependency issue that was at the root of the shared worker problem. Not related to this plugin.
No branches or pull requests
I found #23 but that seems to only apply to inline imports.
It runs without error when in dev. But running vite build causes this error:
The text was updated successfully, but these errors were encountered: