Skip to content

Support source phase imports JS proposal #23047

Description

@sbc100

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions