Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
separate instance phase section
  • Loading branch information
guybedford committed Jul 22, 2025
commit fef4ea586fbb06cd954fbb5c5b82d79f26f89d21
8 changes: 6 additions & 2 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,10 @@ imports is supported.
Both of these integrations are in line with the
[ES Module Integration Proposal for WebAssembly][].

### Wasm Instance Phase Imports

> Stability: 1.2 - Active development

Instance imports allow any `.wasm` files to be imported as normal modules,
supporting their module imports in turn.

Expand Down Expand Up @@ -832,8 +836,8 @@ getLength('foo'); // Also returns 3.
added: REPLACEME
-->

When importing WebAssembly modules through the ESM Integration, they cannot use
import module names or import/export names that start with reserved prefixes:
When importing WebAssembly module instances, they cannot use import module
names or import/export names that start with reserved prefixes:

* `wasm-js:` - reserved in all module import names, module names and export
names.
Expand Down
Loading