fix: adding nprogress plugin in terms of ssr for preventing vite build failling

This commit is contained in:
andatoshiki 2023-03-24 17:04:36 +08:00
parent c64c35ae06
commit 22596f573d

View File

@ -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'
]
},
})