diff --git a/package.json b/package.json index 29cb194..fbdd81f 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "devDependencies": { "@rollup/plugin-commonjs": "^11.0.0", - "@rollup/plugin-node-resolve": "^6.0.0", + "@rollup/plugin-node-resolve": "^7.0.0", "rollup": "^1.20.0", "rollup-plugin-livereload": "^1.0.0", "rollup-plugin-svelte": "^5.0.3", diff --git a/rollup.config.js b/rollup.config.js index eae4c0b..2014437 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -32,7 +32,7 @@ export default { // https://github.com/rollup/plugins/tree/master/packages/commonjs resolve({ browser: true, - dedupe: importee => importee === 'svelte' || importee.startsWith('svelte/') + dedupe: ['svelte'] }), commonjs(),