diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index 89b4612e0..5125844f4 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -8,7 +8,7 @@ import withSerwistInit from "@serwist/next"; const jiti = createJiti(fileURLToPath(import.meta.url)); // Import env here to validate during build. Using jiti we can import .ts files :) -await jiti.import("./env"); +const { env } = await jiti.import("./env"); const withMDX = nextMdx();