fix(core): avoid expand runtime config everywhere used (#7972)

This commit is contained in:
forehalo committed 2024-08-26 12:22:52 +00:00
1 parent 9ea4aaaf37
commit 0209e3fa76
5 files changed
+24 -13

No files matched your search

+3 -1
View File
@@ -346,7 +346,9 @@ export const createConfiguration: (
process.env.MIXPANEL_TOKEN
),
'process.env.DEBUG_JOTAI': JSON.stringify(process.env.DEBUG_JOTAI),
runtimeConfig: JSON.stringify(runtimeConfig),
'process.env.RUNTIME_CONFIG': JSON.stringify(
JSON.stringify(runtimeConfig)
),
}),
buildFlags.distribution === 'admin'
? null