fix: next.js console warning due to output:standalone (#16087)
This commit is contained in:
1 parent
5ce96c7704
commit
c46905e9a7
2 files changed
+3
-2
No files matched your search
@@ -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"],
|
||||
|
||||
Reference in new issue
Block a user