// Renderer worker ES-module loader. // wasm-bindgen --target web emits renderer_worker.js which exports an `init` // function that must be called with the WASM module path before the worker // can receive messages. This loader does that and is the entry point for the // module worker spawned by WorkerBridge. import init from './renderer_worker.js'; await init({ module_or_path: './renderer_worker_bg.wasm' });