-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DEP0166] DeprecationWarning #283
Comments
Yes, I've seen similar issues related to import ending in In my case it was fixed by removing Maybe you have an import that ends with |
Also, for Nuxt I recommend using |
Oh, I didn't know about this one. Thank you very much. |
When running e2e tests I always got this error. I import it via the min.js in the nuxt.config.ts
The errors are gone. thank you @cyberalien for the recommendation. |
@KarelVendla yeah, it seems the |
Are you using it as part of nuxt icon package or separately? |
@cyberalien basically, I created a custom component which uses <script setup lang="ts">
import 'iconify-icon' // this causes build warnings
</script>
<template>
<iconify-icon icon="..." />
</template>
|
Very strange. I'm importing it like that in Vue project too, no issues. Can you post versions of vite, node and whatever package manager are you using? |
Yeah, of course! This is the info generated by
It is important to note that the warning only shows on build, not dev. It happens to |
I've seen reports that removing |
The warning is still present |
My project relies on the “Immer” package and the same error warning occurred |
I started receiving this warning when I updated to latest Vue and Nuxt versions:
I'm not sure if it is a @iconify/vue thing.
The text was updated successfully, but these errors were encountered: