Skip to content

Scheduling infrastructure for absolutely everyone.

fix: next.js console warning due to output:standalone (#16087)

Alex van Andelc46905e9a70a
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 059070135fa..2b7d2ecb0b2 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -172,7 +172,7 @@ const matcherConfigUserTypeEmbedRoute = {
/** @type {import("next").NextConfig} */
const nextConfig = {
- output: "standalone",
+ output: process.env.BUILD_STANDALONE === "true" ? "standalone" : undefined,
experimental: {
// externalize server-side node_modules with size > 1mb, to improve dev mode performance/RAM usage
serverComponentsExternalPackages: ["next-i18next"],
diff --git a/turbo.json b/turbo.json
index 54489b4f863..1c7fe30de1b 100644
--- a/turbo.json
+++ b/turbo.json
@@ -41,7 +41,8 @@
"STRIPE_PREMIUM_PLAN_PRODUCT_ID",
"STRIPE_TEAM_MONTHLY_PRICE_ID",
"STRIPE_ORG_MONTHLY_PRICE_ID",
- "NEXT_PUBLIC_API_V2_URL"
+ "NEXT_PUBLIC_API_V2_URL",
+ "BUILD_STANDALONE"
]
},
"@calcom/web#dx": {