remove imports,

switch to opt=s,
add debug index.html
This commit is contained in:
=
2025-09-30 17:41:14 +00:00
parent 8ccb45748d
commit c94a7902c0
5 changed files with 53 additions and 28 deletions

View File

@@ -3,7 +3,7 @@
build: clean
@echo "======================== Building Binary ======================="
minify wfa.js > dist/wfa.js
GOOS=js GOARCH=wasm CGO_ENABLED=0 tinygo build -panic=trap -no-debug -opt=2 -target=wasm -o dist/wfa.wasm .
GOOS=js GOARCH=wasm CGO_ENABLED=0 tinygo build -panic=trap -no-debug -opt=s -target=wasm -o dist/wfa.wasm .
clean:
@echo "======================== Cleaning Project ======================"