File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 " pkg"
66 ],
77 "type" : " module" ,
8- "exports" : " ./pkg/demucs_wasm.js"
8+ "exports" : " ./pkg/demucs_wasm.js" ,
9+ "scripts" : {
10+ "build" : " wasm-pack build . --target web --no-pack --release && rm -f pkg/.gitignore"
11+ }
912}
Original file line number Diff line number Diff line change 99 "build-model" : " uv run python tools/model-export/build_models.py" ,
1010 "verify-parity" : " uv run python tools/model-export/verify_parity.py" ,
1111 "model-release" : " uv run --no-sync tools/model_release.py" ,
12- "build-wasm" : " wasm-pack build crates/wasm --target web --no-pack --release && rm -f crates/wasm/pkg/.gitignore " ,
12+ "build-wasm" : " pnpm -C crates/wasm build " ,
1313 "wasm-separate" : " pnpm -C packages/app wasm-separate" ,
1414 "build" : " pnpm build-wasm && pnpm -C packages/app build" ,
1515 "build-cf" : " (command -v cargo >/dev/null || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal) && PATH=\" $HOME/.cargo/bin:$PATH\" pnpm build" ,
You can’t perform that action at this time.
0 commit comments