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
api changes #267
Comments
Try installing |
no luck, i tried 3.1.6 and 4.0.0-beta.2 and i get the same error. Now i'm back on the original version in my project which is 2.2.1
so yeah, i have no idea what happened like a week ago when this error first appeared .. |
Should be fixed in |
is 4.0.0-beta.3 missing index.js? i'm having trouble importing from https://cdn.jsdelivr.net/npm/@iconify/[email protected]/dist/ |
It no longer exists because it is not needed. Svelte uses .svelte file, that .js file was compiled for very old version of Svelte. Correct usage is to import |
Completely forgot about Svelte component. New version has been published as beta for almost half a year now. Just published it as stable version Importing from Imports that work: Importing from |
@cyberalien not sure what changed between v3 and v4... but i cant install v4 under pnpm: ERR_PNPM_WORKSPACE_PKG_NOT_FOUND In : "@iconify/types@workspace:^" is in the dependencies but no package named "@iconify/types" is present in the workspace
This error happened while installing the dependencies of @iconify/[email protected] tried with pnpm v8 and v9 (8.14.3, 8.15.5, 8.15.7, 9.0.0, 9.0.6) You might want to check for issues as the package also shows 0 downloads within npm |
Sorry about that. Looks like I've published using |
Hello,
In previous versions this worked "@iconify/svelte/dist/Icon.svelte" and now only this works "@iconify/svelte"
What changed and how can i keep using the old style import?
Thanks
The text was updated successfully, but these errors were encountered: