mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +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'
|
||||
],
|
||||
noExternal: [
|
||||
...ctx.nuxt.options.build.transpile.filter(i => typeof i === 'string'),
|
||||
'@nuxt/app'
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user