-
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
Remove Svelte 2 HMR #153
Remove Svelte 2 HMR #153
Conversation
c0cea2a
to
5113ac5
Compare
@benmccann Personally I would merge I think webpack is still useful, in certain scenarios it is very handy to have its established ecosystem and configurability. I would also update What do you think ? |
I would be interested to see what changes would be necessary here to support working HMR and open to that idea |
Should we use |
It seems like a good idea to leave it as a common library assuming it would be shared by the Rollup plugin, etc. eventually |
I'm also of the opinion that it's time to kill the hot forks and integrate I would personally drop the "experimental" language, in favor of something like "community supported". The hot fork has not diverged much. I've merged it into the branch of this PR for illustration: https://github.com/benmccann/svelte-loader/compare/rm-hmr...rixo:svelte-hmr?expand=1 I've not tested it, and it would probably need to be updated to last version of There's more changes involved than with the Rollup plugin because Webpack needs an adapter for And indeed, we need to keep the dependence on |
I'm happy to close this PR and review yours if anyone wants to send one against |
Superseded by #156. |
@rixo this was suggested to me in #150 (comment). Do you think this PR to update the README to point to your repo is a good idea?
I'm afraid I always forget what the latest state of HMR is, what support we would need to build an official interface in core, etc. I wanted to know your thoughts on this PR and whether it's a helpful step to take. I figure it doesn't do anyone any good to have a broken version in and then we'd have a clean slate where if we add your stuff in hopefully it will be easier for you since you wouldn't have to worry about making breaking changes. Or should we just try to merge your stuff in here now instead? I haven't talked to any of the other maintainers about what the best path forward is yet, but thought I'd get a discussion going on the topic