@sheetxl/studio-vanilla
Version:
SheetXL Studio - Vanilla entry point for integrating SheetXL UI.
25 lines (24 loc) • 756 B
JavaScript
/**
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.27
*
* (C) 2025-present SheetXL Inc. & Michael T. Ford
* License: The license can be found at https://www.sheetxl.com/license.
*/
let s = null;
async function l() {
return s || (s = new Promise(async (e, a) => {
try {
const i = "0.20.2", r = `https://esm.sh/esbuild-wasm@${i}`, n = `https://esm.sh/esbuild-wasm@${i}/esbuild.wasm`, t = (await import(
/* webpackIgnore: true */
/* @vite-ignore */
r
)).default;
await t.initialize({ wasmURL: n, worker: !1 }), e(t);
} catch (i) {
console.error("Error initializing esbuild:", i), a(i);
}
}), s);
}
export {
l as initialize
};