mirror of https://github.com/sveltejs/svelte
fix: always pass original component to HMR wrapper (#12454)
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/12459/head
parent
1ce4cd5480
commit
436cc99740
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: always pass original component to HMR wrapper
|
Loading…
Reference in new issue