-
Notifications
You must be signed in to change notification settings - Fork 72
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
Svelte 4 Support #234
Comments
Same here. svelte: path.resolve('node_modules', 'svelte') to: svelte: path.resolve('node_modules', 'svelte/src/runtime') I don't think this should be the solution, tho. |
Could anyone shed some light on why that Edit: The explanation in the |
The readme and webpack-template have been updated. |
Thanks! I think that the option could be left there uncommented because it creates way more confusion not having it in case you need it, than having it but being somewhat linked to the package structure. Maybe someone could come up with a better and less brittle solution. |
I see, I'll add it back uncommented then. I don't think there's a better solution to this if webpack behaves this weirdly - we'll just have to make sure the internal path doesn't change between major versions of Svelte (which it shouldn't, anyway). |
Even if the internal structure changes, now you know that it could have this impact and you could communicate it. |
Neither the documentation nor the example template do not work with svelte 4.
npm install svelte@latest
npm run dev
Webpack fails to build with errors. Internal svelte modules do not resolve.
Example: https://github.com/mgreystone/template-webpack
The text was updated successfully, but these errors were encountered: