diff --git a/docs/src/commands/build.md b/docs/src/commands/build.md index 9b12922e..45410538 100644 --- a/docs/src/commands/build.md +++ b/docs/src/commands/build.md @@ -3,11 +3,7 @@ The `wasm-pack build` command creates the files necessary for JavaScript interoperability and for publishing a package to npm. This involves compiling your code to wasm and generating a pkg folder. This pkg folder will contain the -wasm binary, a JS wrapper file, your `README`, and a `package.json` file. - -The `pkg` directory is automatically `.gitignore`d by default, since it contains -build artifacts which are not intended to be checked into version -control.[0](#footnote-0) +wasm binary, a JS wrapper file, your `README`, and a `package.json` file.[0](#footnote-0) ## Path @@ -140,6 +136,5 @@ wasm-pack build examples/js-hello-world --mode no-install -- --offline