fix(schema): don't hoist types for consola for now

This commit is contained in:
Daniel Roe 2024-03-15 19:37:13 -07:00
parent c78c1161ad
commit adbd53a257
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -32,7 +32,7 @@ export default defineUntypedSchema({
*/
hoist: {
$resolve: (val) => {
const defaults = ['nitropack', 'defu', 'h3', '@unhead/vue', 'vue', 'vue-router', 'consola', '@nuxt/schema']
const defaults = ['nitropack', 'defu', 'h3', '@unhead/vue', 'vue', 'vue-router', '@nuxt/schema']
return val === false ? [] : (Array.isArray(val) ? val.concat(defaults) : defaults)
}
},