mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 07:25:59 +00:00
fix: adding nprogress plugin in terms of ssr for preventing vite build failling
This commit is contained in:
parent
c64c35ae06
commit
22596f573d
@ -8,5 +8,10 @@ export default defineConfig({
|
|||||||
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
|
include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
ssr: { noExternal: ['@arco-design/web-vue'] },
|
ssr: {
|
||||||
|
noExternal: [
|
||||||
|
'@andatoshiki/vitepress-plugin-nprogress',
|
||||||
|
'@arco-design/web-vue'
|
||||||
|
]
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user