Skip to content

Commit e7c3f52

Browse files
Add caveat of --target no-modules (#3354)
1 parent 76e4cad commit e7c3f52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guide/src/examples/without-a-bundler.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ few caveats:
5454

5555
* It does not support [local JS snippets][snippets]
5656
* It does not generate an ES module
57+
* It does not support `--split-linked-modules` outside of a document, e.g.
58+
inside a worker
5759

5860
With that in mind the main difference is how the wasm/JS code is loaded, and
5961
here's an example of loading the output of `wasm-pack` for the same module as

0 commit comments

Comments
 (0)