diff --git a/plugins/plugin-svelte/package.json b/plugins/plugin-svelte/package.json index 24ae7d4e6d..6447897b3c 100644 --- a/plugins/plugin-svelte/package.json +++ b/plugins/plugin-svelte/package.json @@ -18,7 +18,7 @@ "gitHead": "a01616bb0787d56cd782f94cecf2daa12c7594e4", "dependencies": { "rollup-plugin-svelte": "^7.0.0", - "svelte-hmr": "^0.12.0", + "svelte-hmr": "^0.12.1", "svelte-preprocess": "^4.6.0" }, "devDependencies": { diff --git a/plugins/plugin-svelte/plugin.js b/plugins/plugin-svelte/plugin.js index 96906ea478..13d6b2b2d9 100644 --- a/plugins/plugin-svelte/plugin.js +++ b/plugins/plugin-svelte/plugin.js @@ -127,6 +127,7 @@ module.exports = function plugin(snowpackConfig, pluginOptions = {}) { ...hmrOptions, absoluteImports: false, injectCss: true, + noOverlay: true, }, compiled, originalCode: codeToCompile,