fix: next.js console warning due to output:standalone (#16087)
This commit is contained in:
@@ -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
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user