diff --git a/Makefile b/Makefile index 4fc9165..65e6ab5 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ build: clean @echo "======================== Building Binary =======================" - minify wfa.js > dist/wfa.js + cp wfa.js dist/wfa.js GOOS=js GOARCH=wasm CGO_ENABLED=0 tinygo build -panic=trap -no-debug -opt=s -target=wasm -o dist/wfa.wasm . clean: