This commit is contained in:
Konstantin Wohlwend 2025-07-11 18:14:13 -07:00
parent a7ef394be4
commit 156a70d726

View File

@ -86,7 +86,7 @@ export async function bundleJavaScript(sourceFiles: Record<string, string> & { '
return Result.error(result.errors.map(e => e.text).join('\n'));
}
if (result.outputFiles && result.outputFiles.length > 0) {
if (result.outputFiles.length > 0) {
return Result.ok(result.outputFiles[0].text);
}
return throwErr("No output generated??");