Commit 0174f07d authored by Éloïs's avatar Éloïs

[doc] detail publish process

parent c7a0fe3b
Pipeline #4600 passed with stages
in 5 minutes and 17 seconds
......@@ -71,9 +71,21 @@ wasm-pack build
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 :
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) :
wasm-pack publish
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment