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

Support source phase imports JS proposal #23047

Open
sbc100 opened this issue Dec 2, 2024 · 1 comment · May be fixed by #23175
Open

Support source phase imports JS proposal #23047

sbc100 opened this issue Dec 2, 2024 · 1 comment · May be fixed by #23175
Assignees

Comments

@sbc100
Copy link
Collaborator

sbc100 commented Dec 2, 2024

The source phase imports proposal should allow us to simplify the emscripten-generated JS code significantly: https://github.com/tc39/proposal-source-phase-imports.

This proposal is at phase 3 so browser should be supporting without a flag soon. For folks that use bundlers that bundler should also be able to lower this away.

It seems like we should want a new setting for enable this, which should allow us to elide a lot of the wasm file loading code.

Chromium tracking issue: https://issues.chromium.org/issues/42204365

@sbc100
Copy link
Collaborator Author

sbc100 commented Dec 2, 2024

CC @guybedford

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

Successfully merging a pull request may close this issue.

1 participant