From 22596f573d2e51ca1666752a382b4b29f49a252e Mon Sep 17 00:00:00 2001 From: andatoshiki <101481353+andatoshiki@users.noreply.github.com> Date: Fri, 24 Mar 2023 17:04:36 +0800 Subject: [PATCH] fix: adding nprogress plugin in terms of ssr for preventing vite build failling --- docs/vite.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/vite.config.ts b/docs/vite.config.ts index 6093b5cb..ff93bb27 100644 --- a/docs/vite.config.ts +++ b/docs/vite.config.ts @@ -8,5 +8,10 @@ export default defineConfig({ include: [/\.vue$/, /\.vue\?vue/, /\.md$/], }), ], - ssr: { noExternal: ['@arco-design/web-vue'] }, + ssr: { + noExternal: [ + '@andatoshiki/vitepress-plugin-nprogress', + '@arco-design/web-vue' + ] + }, })