mirror of
https://github.com/zaphar/kitchen.git
synced 2025-07-22 19:40:14 -04:00
dev: Add some explicit clarity to the wasm-pack step
This commit is contained in:
parent
b999359e95
commit
cbe7957844
4
Makefile
4
Makefile
@ -30,12 +30,12 @@ static-prep: web/index.html web/favicon.ico web/static/*.css
|
|||||||
wasmrelease: wasmrelease-dist static-prep
|
wasmrelease: wasmrelease-dist static-prep
|
||||||
|
|
||||||
wasmrelease-dist: web/src/*.rs web/src/components/*.rs
|
wasmrelease-dist: web/src/*.rs web/src/components/*.rs
|
||||||
cd web; wasm-pack build --mode no-install --release --target web --out-dir dist/
|
cd web; wasm-pack build --mode no-install --release --target web --no-typescript --out-name kitchen_wasm --out-dir dist/
|
||||||
|
|
||||||
wasm: wasm-dist static-prep
|
wasm: wasm-dist static-prep
|
||||||
|
|
||||||
wasm-dist: web/src/*.rs web/src/components/*.rs
|
wasm-dist: web/src/*.rs web/src/components/*.rs
|
||||||
cd web; wasm-pack build --mode no-install --target web --out-dir dist/ --features debug_logs
|
cd web; wasm-pack build --mode no-install --target web --no-typescript --out-dir dist/ --features debug_logs
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf web/dist/*
|
rm -rf web/dist/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user