mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(nuxt): don't print warnings for unresolved ids (#23604)
This commit is contained in:
parent
fc7b131bf7
commit
d8d0ef561e
@ -23,7 +23,7 @@ export function resolveDeepImportsPlugin (nuxt: Nuxt): Plugin {
|
|||||||
// TODO: respect nitro runtime conditions
|
// TODO: respect nitro runtime conditions
|
||||||
conditions: options.ssr ? ['node', 'import', 'require'] : ['import', 'require']
|
conditions: options.ssr ? ['node', 'import', 'require'] : ['import', 'require']
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
logger.log('Could not resolve id', id, importer)
|
logger.debug('Could not resolve id', id, importer)
|
||||||
return null
|
return null
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user