Look ma! hot reload! (#16)

This commit is contained in:
Akash Shakdwipeea
2025-10-24 19:44:06 +05:30
committed by GitHub
parent 8addf60eea
commit 2a49f07d68
9 changed files with 126 additions and 37 deletions
@@ -1,6 +1,6 @@
// Generic worker that imports the app's WASM module relative to the generated pkg folder.
// Works for any application because the relative depth from this file to pkg is stable.
import initWasm, { worker_entrypoint } from "../../../../../../wasm-index.js";
import initWasm, { worker_entrypoint } from "/level-editor/pkg/level_editor.js";
export function attachMain() {}