weblog/examples/web-sys/Makefile

8 lines
169 B
Makefile
Raw Permalink Normal View History

2020-09-17 14:42:05 +00:00
all: build
build:
wasm-pack build --target web --out-name wasm --out-dir ./static
run:
simple-http-server -i static -p 3000 --nocache --try-file ./static/index.html