Updated wasm publishing instructions
This commit is contained in:
@@ -38,6 +38,5 @@ To be clear, this is not something that most JS developers need to worry about,
|
||||
If you're a Nym platform developer who's made changes to the Rust (or JS) files and wants to re-publish the package to NPM, here's how you do it:
|
||||
|
||||
1. `wasm-pack build --scope nymproject` builds the wasm binaries into the `pkg` directory (not in source control)
|
||||
2. copy `client.js` into the `pkg` folder and update `package.json` manifest with the provided one
|
||||
3. bump version numbers as necessary for SemVer
|
||||
4. `wasm-pack publish --access=public` will publish your changed package to NPM
|
||||
2. bump version numbers as necessary for SemVer
|
||||
3. `wasm-pack publish --access=public` will publish your changed package to NPM
|
||||
|
||||
Reference in New Issue
Block a user