Skip to content

Commit

Permalink
Add caveat of --target no-modules (#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaslihotzki committed Mar 14, 2023
1 parent 76e4cad commit e7c3f52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guide/src/examples/without-a-bundler.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ few caveats:

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

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

0 comments on commit e7c3f52

Please sign in to comment.