Skip to content

[Feature Request] Declarative imports using ESM Implementation proposal #18387

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

Open
jeswr opened this issue Dec 16, 2022 · 0 comments
Open

[Feature Request] Declarative imports using ESM Implementation proposal #18387

jeswr opened this issue Dec 16, 2022 · 0 comments

Comments

@jeswr
Copy link
Contributor

jeswr commented Dec 16, 2022

Related to #5828.

The esm integration proposal for Webassembly is at stage 2 and appears to include a declarative API for importing .wasm files.

Webpack has experimental support for this updated specification; as does Node 19.

Given this; I would like to request an opt-in feature for emscripten to use declarative loading rather than this locateFile and fetch logic which can cause headaches when trying to create builds that are isomorphic across node and browser environments.

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

1 participant