Skip to content

Commit

Permalink
docs(docs): update build instructions (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Feb 26, 2024
1 parent e9c743e commit b29d7cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ $ rustup target add wasm32-unknown-unknown
$ cargo install wasm-pack
$ cd ../website_playground
$ CARGO_CFG_HYDROFLOW_GENERATE_DOCS="1" RUSTFLAGS="--cfg procmacro2_semver_exempt --cfg super_unstable" wasm-pack build
$ cd ../docs
```

### Notes on building on macOS
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"wasm-pack": "wasm-pack build ../website_playground/"
"wasm-pack": "cd ../website_playground/ && wasm-pack build"
},
"dependencies": {
"@docusaurus/core": "2.4.1",
Expand Down

0 comments on commit b29d7cc

Please sign in to comment.