diff --git a/packages/vercel/src/build.ts b/packages/vercel/src/build.ts index ea9fffa..bc4ba87 100644 --- a/packages/vercel/src/build.ts +++ b/packages/vercel/src/build.ts @@ -182,6 +182,7 @@ export async function buildFn( 'import', 'require', ]; + options.format = 'esm'; } const ctx = { found: false, index: '' };