Make build:wasm build all wasm packages

This commit is contained in:
2026-07-09 18:46:24 +09:00
parent e4a9f80617
commit a8a46998a8
2 changed files with 8 additions and 6 deletions
+3 -2
View File
@@ -85,11 +85,12 @@ Build the WebAssembly packages before building the site:
```sh
cd site/decodal-site
npm install
npm run build:packages
npm run build:wasm
npm run build
```
`npm run build:wasm` writes generated runtime files into `packages/decodal-wasm/`.
`npm run build:wasm` builds both generated WebAssembly packages.
`npm run build:runtime` writes generated runtime files into `packages/decodal-wasm/`.
`npm run build:tools` writes generated language tools files into `packages/decodal-language-tools/`.
These generated files are committed so the site can be built without requiring every consumer to regenerate the wasm packages first.