diff --git a/cli/script.ts b/cli/script.ts index 8f52d72e8c..d115b266cd 100644 --- a/cli/script.ts +++ b/cli/script.ts @@ -160,6 +160,7 @@ export async function handleFile( format: "esm", bundle: true, write: false, + platform: 'node', }); bundleContent = out.outputFiles[0].text; log.info(`Finished building the bundle for ${path}`);