Skip to content

Commit 5a2a9b0

Browse files
committed
v0.14.2: fix dynamic @hmr:keep
1 parent 72c7940 commit 5a2a9b0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-hmr",
3-
"version": "0.14.1",
3+
"version": "0.14.2",
44
"description": "Bundler agnostic HMR utils for Svelte 3",
55
"main": "index.js",
66
"author": "rixo <rixo@rixo.fr>",

runtime/hot-api.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ function applyHmr(args) {
9898
cssId,
9999
previousCssId: r.current.cssId,
100100
cssOnly,
101+
preserveLocalState,
101102
})
102103

103104
hot.dispose(data => {

0 commit comments

Comments
 (0)