import.meta.glob as: 'raw' fails
stepanenko3 opened this issue · comments
Describe the bug
WARN The glob option "as" has been deprecated in favour of "query". Please update as: 'raw' to query: '?raw', import: 'default'.
nuxt-icon.vue:23
const iconsImport = import.meta.glob('assets/icons/**/**.svg', {
as: 'raw',
eager: false
})
When removing the { as: raw
}, the error disappears.
sorry, related to another package
sorry, related to another package
I got the same warning, what was it due to?
I got same issue. has it been resolved?