mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-07 09:22:27 +00:00
fix(vite): add transpile options to noExternal list (#364)
This commit is contained in:
parent
5d78c14ed6
commit
928d10ab77
@ -23,6 +23,7 @@ export async function buildServer (ctx: ViteBuildContext) {
|
|||||||
'axios'
|
'axios'
|
||||||
],
|
],
|
||||||
noExternal: [
|
noExternal: [
|
||||||
|
...ctx.nuxt.options.build.transpile.filter(i => typeof i === 'string'),
|
||||||
'@nuxt/app'
|
'@nuxt/app'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user