Skip to content
Snippets Groups Projects
Commit 0174f07d authored by Éloïs's avatar Éloïs
Browse files

[doc] detail publish process

parent c7a0fe3b
No related branches found
No related tags found
No related merge requests found
Pipeline #5304 failed
...@@ -71,9 +71,21 @@ wasm-pack build ...@@ -71,9 +71,21 @@ wasm-pack build
```bash ```bash
wasm-pack test --headless --firefox wasm-pack test --headless --firefox
wasm-pack test --headless --chrome
wasm-pack test --headless --safari
``` ```
### 🎁 Publish to NPM with `wasm-pack publish` ### 🎁 Publish new release to NPM
Before publish, build in release mode without default features :
```bash
wasm-pack build --release -- --no-default-features
```
You need npm token, if you don't have, get it with `npm login` command.
Then publish ( help) :
```bash ```bash
wasm-pack publish wasm-pack publish
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment