From 661c821ecd84af64a935247491dbd463d6e4ca85 Mon Sep 17 00:00:00 2001 From: sorrycc Date: Fri, 5 Jan 2024 09:22:37 +0800 Subject: [PATCH] chore: update --- .umirc.ts | 3 --- docs/.dumirc.ts | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.umirc.ts b/.umirc.ts index 7fbbe00764e2..e7f185a2ea4a 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -9,7 +9,4 @@ export default { conventionRoutes: { exclude: [/\/components\//], }, - exportStatic: { - ignorePreRenderError: true, - }, }; diff --git a/docs/.dumirc.ts b/docs/.dumirc.ts index 9a629d704079..041b4ba2f25d 100644 --- a/docs/.dumirc.ts +++ b/docs/.dumirc.ts @@ -32,6 +32,9 @@ export default defineConfig({ define: { 'process.env.UMI_VERSION': version, }, + exportStatic: { + ignorePreRenderError: true, + }, themeConfig: { name: 'UmiJS', socialLinks: {