From fd107ccab8608eb32e67eddcb5598d29096875bc Mon Sep 17 00:00:00 2001 From: puxiao Date: Tue, 31 Oct 2023 14:04:20 +0800 Subject: [PATCH] Update build.md --- docs/src/commands/build.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/commands/build.md b/docs/src/commands/build.md index e3c46be..9b12922 100644 --- a/docs/src/commands/build.md +++ b/docs/src/commands/build.md @@ -91,11 +91,13 @@ wasm-pack build --target nodejs | `nodejs` | [Node.js][deploy-nodejs] | Outputs JS that uses CommonJS modules, for use with a `require` statement. `main` key in `package.json`. | | `web` | [Native in browser][deploy-web] | Outputs JS that can be natively imported as an ES module in a browser, but the WebAssembly must be manually instantiated and loaded. | | `no-modules` | [Native in browser][deploy-web] | Same as `web`, except the JS is included on a page and modifies global state, and doesn't support as many `wasm-bindgen` features as `web` | +| `deno` | [Deno][deploy-deno] | Outputs JS that can be natively imported as an ES module in deno. | [deploy]: https://rustwasm.github.io/docs/wasm-bindgen/reference/deployment.html [bundlers]: https://rustwasm.github.io/docs/wasm-bindgen/reference/deployment.html#bundlers [deploy-nodejs]: https://rustwasm.github.io/docs/wasm-bindgen/reference/deployment.html#nodejs [deploy-web]: https://rustwasm.github.io/docs/wasm-bindgen/reference/deployment.html#without-a-bundler +[deploy-deno]: https://rustwasm.github.io/docs/wasm-bindgen/reference/deployment.html#deno ## Scope