mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(vite): add nuxt/app to noExternal
This commit is contained in:
parent
b6104c6e83
commit
5bd639a493
@ -22,6 +22,9 @@ export async function buildServer (ctx: ViteBuildContext) {
|
|||||||
ssr: {
|
ssr: {
|
||||||
external: [
|
external: [
|
||||||
'axios'
|
'axios'
|
||||||
|
],
|
||||||
|
noExternal: [
|
||||||
|
'@nuxt/app'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
Loading…
Reference in New Issue
Block a user