rollup-plugin-svelte
rollup-plugin-svelte copied to clipboard
Bump peerDep to support svelte 5
I'm currently getting an npm error when I try to include this in a project that uses svelte 5 because I think npm needs to specifically be told to add beta tags: https://classic.yarnpkg.com/en/docs/dependency-versions#toc-pre-release-tags
I believe I'm also in need of this.
Same here, Svelte 4 is installed in our packaged build environment because of the this peer dependency
This causes warnings at build time
And this error in the application
Your application, or one of its dependencies, imported from 'svelte/internal', which was a private module used by Svelte 4 components that no longer exists in Svelte 5. It is not intended to be public API. If you're a library author and you used 'svelte/internal' deliberately, please raise an issue on https://github.com/sveltejs/svelte/issues detailing your use case.
We still need support for Svelte 4 though since we still got legacy apps using the same build environment.
To move forward we added an overrides entry to package.json
{
"overrides": {
"svelte": "^5.0.0-next.260"
}
}
This is only an issue with the beta. The warning will go away once the final version is released