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

This commit is contained in:
Alex van Andel
2024-08-06 11:38:24 +00:00
committed by GitHub
parent 5ce96c7704
commit c46905e9a7
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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"],
+2 -1
View File
@@ -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": {