fix(nuxt): don't print warnings for unresolved ids (#23604)

This commit is contained in:
Daniel Roe 2023-10-11 11:35:34 +01:00 committed by GitHub
parent fc7b131bf7
commit d8d0ef561e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ export function resolveDeepImportsPlugin (nuxt: Nuxt): Plugin {
// TODO: respect nitro runtime conditions
conditions: options.ssr ? ['node', 'import', 'require'] : ['import', 'require']
}).catch(() => {
logger.log('Could not resolve id', id, importer)
logger.debug('Could not resolve id', id, importer)
return null
})
}