fix(vite): add nuxt/app to noExternal

This commit is contained in:
Pooya Parsa 2021-06-14 20:52:40 +02:00
parent b6104c6e83
commit 5bd639a493

View File

@ -22,6 +22,9 @@ export async function buildServer (ctx: ViteBuildContext) {
ssr: { ssr: {
external: [ external: [
'axios' 'axios'
],
noExternal: [
'@nuxt/app'
] ]
}, },
build: { build: {