Skip to content
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

ES6 with pthread cannot be built by vite #20934

Closed
wangyuanhao11 opened this issue Dec 18, 2023 · 1 comment
Closed

ES6 with pthread cannot be built by vite #20934

wangyuanhao11 opened this issue Dec 18, 2023 · 1 comment

Comments

@wangyuanhao11
Copy link

When using emscripten's es6 and pthreads, the dynamic import of import("./CbWebLib.js")).then(exports=>exports.default(Module)) in worker.js will cause the vite build to fall into an infinite loop.
image

@sbc100
Copy link
Collaborator

sbc100 commented Dec 18, 2023

I think this is a duplicate of #20580

@sbc100 sbc100 closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants