From dde8d61b4b5874ce0e1229471066be40bb2a3b4e Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Fri, 13 Mar 2026 08:50:43 -0700 Subject: [PATCH] Run bootstrap --- crates/yaak-templates/pkg/yaak_templates.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/crates/yaak-templates/pkg/yaak_templates.js b/crates/yaak-templates/pkg/yaak_templates.js index aa78c841..8d2a7738 100644 --- a/crates/yaak-templates/pkg/yaak_templates.js +++ b/crates/yaak-templates/pkg/yaak_templates.js @@ -1,6 +1,5 @@ -import init from "./yaak_templates_bg.wasm?init"; +import * as wasm from "./yaak_templates_bg.wasm"; 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(); +import { __wbg_set_wasm } from "./yaak_templates_bg.js"; +__wbg_set_wasm(wasm); +wasm.__wbindgen_start();