Open guybedford opened 4 months ago
I've been in support of this proposal when paired with source phase imports. It could help improve tooling for developers by giving them a declarative way to get wasm modules/instances instead of having to use the imperative WebAssembly JS-API.
Request for Mozilla Position on an Emerging Web Specification
@
-mention GitHub accounts): @linclark, @littledan, @ms2ger, @takikawa, @guybedfordOther information
The WebAssembly ESM Integration allows JS modules to import Wasm and vice versa, providing improved ergonomics and tooling workflows when working with WebAssembly modules. With Source Phase Imports it also allows the ability to import uninstantiated Wasm through the module system enabling these benefits for the full range of instantiation workflows. While it has been in development for some time, it was recently progressed to Phase 3 in the WebAssembly process.