diff --git a/lib/svelte3/make-hot.js b/lib/svelte3/make-hot.js index 18a526c..5fe4c1c 100644 --- a/lib/svelte3/make-hot.js +++ b/lib/svelte3/make-hot.js @@ -3,9 +3,10 @@ const { createMakeHot } = require('svelte-hmr'); const hotApi = require.resolve('./hot-api.js'); -const makeHot = createMakeHot(hotApi, { - meta: 'module', +const makeHot = createMakeHot({ walk, + meta: 'module', + hotApi, }); module.exports = makeHot; diff --git a/package.json b/package.json index d38212c..56d409b 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "dependencies": { "loader-utils": "^1.1.0", "svelte-dev-helper": "^1.1.9", - "svelte-hmr": "^0.6.0-0" + "svelte-hmr": "^0.10.3" }, "devDependencies": { "chai": "^4.1.2", diff --git a/yarn.lock b/yarn.lock index 5b91eca..b9dc95e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -819,9 +819,10 @@ svelte-dev-helper@^1.1.9: version "1.1.9" resolved "https://registry.yarnpkg.com/svelte-dev-helper/-/svelte-dev-helper-1.1.9.tgz#7d187db5c6cdbbd64d75a32f91b8998bde3273c3" -svelte-hmr@^0.6.0-0: - version "0.6.0-0" - resolved "https://registry.yarnpkg.com/svelte-hmr/-/svelte-hmr-0.6.0-0.tgz#9fab12b17093427642a3bc593bd6f473af8fedac" +svelte-hmr@^0.10.3: + version "0.10.3" + resolved "https://registry.yarnpkg.com/svelte-hmr/-/svelte-hmr-0.10.3.tgz#6939a6ae483bb0180e0f3f120554d947e00d2223" + integrity sha512-s90yAPnfGE6rTbq9Vvq73z1XqLJ2qGw0VjorpwKfDZRIsB0/Ozu+uF5cyC1fS3dCyQcS2sZDMt4zQ/qDjDwa/Q== svelte@^3.19.1: version "3.19.1"