From 998b7747e9c390f57569150a4479ed858d8cbfd2 Mon Sep 17 00:00:00 2001 From: nullprop Date: Sat, 28 Jan 2023 13:23:51 +0200 Subject: [PATCH] run wasm script --- run-wasm.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 run-wasm.sh diff --git a/run-wasm.sh b/run-wasm.sh new file mode 100755 index 0000000..5d1c9e7 --- /dev/null +++ b/run-wasm.sh @@ -0,0 +1,5 @@ +#!/bin/bash -e + +wasm-pack build --target web +sed 's/.\/pkg/./g' index.html > pkg/index.html +miniserve pkg --index index.html