mirror of https://github.com/sveltejs/svelte
When Vite calls `hot.accept`, it passes the wrapped component, which means we're passing the HMR wrapper along as the new component. Avoid that by maintaining a reference to the original component.pull/12454/head
parent
81ed425b5a
commit
b25428d0ae
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: always pass original component to HMR wrapper
|
||||
Loading…
Reference in new issue