fix(vite): add transpile options to noExternal list (#364)

This commit is contained in:
Daniel Roe 2021-07-23 15:43:06 +01:00 committed by GitHub
parent 5d78c14ed6
commit 928d10ab77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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'
] ]
}, },