diff --git a/packages/open-next/src/build/compileConfig.ts b/packages/open-next/src/build/compileConfig.ts index fe03fc695..dd33a6d95 100644 --- a/packages/open-next/src/build/compileConfig.ts +++ b/packages/open-next/src/build/compileConfig.ts @@ -120,7 +120,7 @@ export function compileOpenNextConfigEdge( external: externals, define: { // with the default esbuild config, the NODE_ENV will be set to "development", we don't want that - "process.env.NODE_ENV": "production", + "process.env.NODE_ENV": '"production"', }, }); }