fix(core): implement editor timeout and report error from boundary (#5105)

This commit is contained in:
Joooye_34
2023-11-29 16:10:38 +08:00
committed by GitHub
parent c0ede1326d
commit 50010bd824
26 changed files with 646 additions and 256 deletions
@@ -351,6 +351,10 @@ export const createConfiguration: (
'process.env.CAPTCHA_SITE_KEY': JSON.stringify(
process.env.CAPTCHA_SITE_KEY
),
'process.env.SENTRY_DSN': JSON.stringify(
process.env.SENTRY_DSN ?? process.env.NEXT_PUBLIC_SENTRY_DSN
),
'process.env.BUILD_TYPE': JSON.stringify(process.env.BUILD_TYPE),
runtimeConfig: JSON.stringify(runtimeConfig),
}),
new CopyPlugin({