mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:18:30 +02:00
Rewrite generated yaak_templates.js to use Vite's ?init import style instead of the ES Module Integration style that rolldown doesn't support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7 lines
273 B
JavaScript
Generated
7 lines
273 B
JavaScript
Generated
import init from "./yaak_templates_bg.wasm?init";
|
|
export * from "./yaak_templates_bg.js";
|
|
import * as bg from "./yaak_templates_bg.js";
|
|
const instance = await init({ "./yaak_templates_bg.js": bg });
|
|
bg.__wbg_set_wasm(instance.exports);
|
|
instance.exports.__wbindgen_start();
|