diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | site/index.html (renamed from index.html) | 0 | ||||
| -rw-r--r-- | site/main.css (renamed from main.css) | 0 | ||||
| -rw-r--r-- | site/main.mjs (renamed from main.mjs) | 2 |
5 files changed, 4 insertions, 4 deletions
@@ -1,2 +1,2 @@ /target -/pkg +/site/wasm @@ -1,7 +1,7 @@ # the --target is currently necessary or firefox will return # "disallowed mime type" -bjc 7-aug-2025 build: - wasm-pack build --target web + wasm-pack build --target web --out-dir site/wasm serve: build - python -m http.server 8118 + (cd site && python -m http.server 8118) diff --git a/index.html b/site/index.html index 77c2bdc..77c2bdc 100644 --- a/index.html +++ b/site/index.html @@ -1,4 +1,4 @@ -import init, { make_vm } from './pkg/automathon.js'; +import init, { make_vm } from './wasm/automathon.js'; function wordlistElts(wordlist) { return wordlist.map((bc, i) => { |
