We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e4f233 commit dbb3003Copy full SHA for dbb3003
1 file changed
package.json
@@ -5,7 +5,7 @@
5
"packageManager": "pnpm@8.15.4",
6
"scripts": {
7
"build": "pnpm install:rust && pnpm build:wasm && pnpm build:web && pnpm copy:wasm",
8
- "install:rust": "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && . ~/.cargo/env && rustup target add wasm32-unknown-unknown && cargo install wasm-pack",
+ "install:rust": "apt-get update && apt-get install -y build-essential && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && . ~/.cargo/env && rustup target add wasm32-unknown-unknown && cargo install wasm-pack",
9
"build:wasm": ". ~/.cargo/env && wasm-pack build crates/engine --target web --out-dir ../../apps/web/src/wasm",
10
"copy:wasm": "cp -r apps/web/src/wasm apps/web/dist/",
11
"predev:web": "pnpm build:wasm",
0 commit comments