diff --git a/package.json b/package.json index 8800154..48087d8 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,10 @@ "version": "1.0.0", "devDependencies": { "npm-run-all": "^4.1.5", - "rollup": "^1.10.1", - "rollup-plugin-commonjs": "^9.3.4", + "rollup": "^1.12.0", + "rollup-plugin-commonjs": "^10.0.0", "rollup-plugin-livereload": "^1.0.0", - "rollup-plugin-node-resolve": "^4.2.3", + "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-svelte": "^5.0.3", "rollup-plugin-terser": "^4.0.4", "svelte": "^3.0.0" diff --git a/rollup.config.js b/rollup.config.js index 087e455..e5b94ec 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -30,7 +30,10 @@ export default { // some cases you'll need additional configuration — // consult the documentation for details: // https://github.com/rollup/rollup-plugin-commonjs - resolve({ browser: true }), + resolve({ + browser: true, + dedupe: importee => importee === 'svelte' || importee.startsWith('svelte/') + }), commonjs(), // Watch the `public` directory and refresh the