Use esbuild worker, emit wasm file in build

This commit is contained in:
Alex Gleason committed 2025-11-13 18:50:46 -06:00
1 parent eabba1ecec
commit dea364c2a6
4 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ async function bundle(
options: BuildProjectOptions,
): Promise<Record<string, Uint8Array>> {
const { fs, projectPath, domParser, target = "esnext", esmUrl } = options;
const esbuild = await getEsbuild(esmUrl);
const esbuild = await getEsbuild();
const indexHtmlText = await fs.readFile(
`${projectPath}/index.html`,