Skip to content

Commit 663a7ef

Browse files
committed
fix build script re package webhapp size
1 parent 8e1a5a0 commit 663a7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"start": "VITE_ADMIN_PORT=$(port) VITE_APP_PORT=$(port) UI_PORT=8888 npm run network",
1212
"network": "hc s clean && npm run build:happ && npm run start -w ui && hc-spin -n 2 --ui-port $UI_PORT 8888 ./workdir/notebooks.webhapp",
1313
"test": "npm run build:happ && cargo nextest run -j 1",
14-
"package": "npm run build:happ && npm run package -w app && hc web-app pack workdir --recursive",
14+
"package": "rm -rf ui/dist && npm run build:happ && npm run package -w app && hc web-app pack workdir --recursive",
1515
"start:happ": "echo \"starting with admin $VITE_ADMIN_PORT\" && RUST_LOG=warn echo \"pass\" | hc s -f=$VITE_ADMIN_PORT --piped generate workdir/notebooks.happ --run=$VITE_APP_PORT -a notebooks network -b \"http://127.0.0.1:$BOOTSTRAP_PORT\" webrtc \"ws://127.0.0.1:$SIGNAL_PORT\"",
1616
"build:happ": "npm run build:zomes && hc app pack workdir --recursive",
1717
"build:zomes": "CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown",

0 commit comments

Comments
 (0)