File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 29
29
with :
30
30
workspaces : ' ./src/wasm-lib'
31
31
32
+ - run : yarn install:wasm
33
+
32
34
- run : yarn build:wasm:dev
33
35
34
36
- run : yarn build
Original file line number Diff line number Diff line change 38
38
"start" : " vite" ,
39
39
"install:rust" : " curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" ,
40
40
"install:wasm" : " curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh" ,
41
- "build:wasm:dev" : " curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -y && (cd src/wasm-lib && wasm-pack build --dev --target web --out-dir pkg) && cp src/wasm-lib/pkg/wasm_lib_bg.wasm public" ,
41
+ "build:wasm:dev" : " (cd src/wasm-lib && wasm-pack build --dev --target web --out-dir pkg) && cp src/wasm-lib/pkg/wasm_lib_bg.wasm public" ,
42
42
"build:wasm" : " (cd src/wasm-lib && wasm-pack build --target web --out-dir pkg) && cp src/wasm-lib/pkg/wasm_lib_bg.wasm public" ,
43
43
"build" : " vite build" ,
44
44
"test" : " vitest" ,
You can’t perform that action at this time.
0 commit comments