diff options
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,10 +1,13 @@ BUILDDIR=site HOST=coleridge:public_html/automathon +# --dev may be useful, but it makes things a lot slower and bigger +WASMPACKFLAGS=--no-pack --no-typescript + # the --target is currently necessary or firefox will return # "disallowed mime type" -bjc 7-aug-2025 build: - wasm-pack build --target web --out-dir $(BUILDDIR)/wasm + wasm-pack build --target web --out-dir $(BUILDDIR)/wasm $(WASMPACKFLAGS) serve: build (cd $(BUILDDIR) && python -m http.server 8118) |
