fix(nuxt): add build.transpile strings to nitro inline list (#10094)

This commit is contained in:
Daniel Roe 2023-01-13 23:19:03 +00:00 committed by GitHub
parent 087f8b7f8a
commit ef39d2c9d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,7 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
'@nuxt/', '@nuxt/',
nuxt.options.buildDir nuxt.options.buildDir
]), ]),
...nuxt.options.build.transpile.filter(i => typeof i === 'string'),
'nuxt/dist', 'nuxt/dist',
'nuxt3/dist', 'nuxt3/dist',
distDir distDir