import { type esbuild } from "https://deno.land/x/esbuild_deno_loader@0.5.2/test_deps.ts";
const { InitializeOptions } = esbuild;
Properties
The URL of the "esbuild.wasm" file. This must be provided when running esbuild in the browser.
optional
wasmModule: WebAssembly.ModuleThe result of calling "new WebAssembly.Module(buffer)" where "buffer" is a typed array or ArrayBuffer containing the binary code of the "esbuild.wasm" file.
You can use this as an alternative to "wasmURL" for environments where it's not possible to download the WebAssembly module.