diff --git a/config/rollup.config.dev.js b/config/rollup.config.dev.js index bd3f74628..0ff3b2f1c 100644 --- a/config/rollup.config.dev.js +++ b/config/rollup.config.dev.js @@ -27,11 +27,7 @@ export default { 'martinez-polygon-clipping': 'node_modules/martinez-polygon-clipping/dist/martinez.umd.js' } }), - nodeResolve({ - mainFields: ['module', 'main'], - browser: false, - dedupe: ['object-inspect'] - }), + nodeResolve({ dedupe: ['object-inspect'] }), commonjs(), json({ indent: '' }) ] diff --git a/config/rollup.config.legacy.js b/config/rollup.config.legacy.js index 9a48d8bac..3e58c7924 100644 --- a/config/rollup.config.legacy.js +++ b/config/rollup.config.legacy.js @@ -28,11 +28,7 @@ export default { 'martinez-polygon-clipping': 'node_modules/martinez-polygon-clipping/dist/martinez.umd.js' } }), - nodeResolve({ - mainFields: ['module', 'main'], - browser: false, - dedupe: ['object-inspect'] - }), + nodeResolve({ dedupe: ['object-inspect'] }), commonjs(), json({ indent: '' }), buble() diff --git a/config/rollup.config.stats.js b/config/rollup.config.stats.js index a41ddef92..fc6da6d99 100644 --- a/config/rollup.config.stats.js +++ b/config/rollup.config.stats.js @@ -27,11 +27,7 @@ export default { 'martinez-polygon-clipping': 'node_modules/martinez-polygon-clipping/dist/martinez.umd.js' } }), - nodeResolve({ - mainFields: ['module', 'main'], - browser: false, - dedupe: ['object-inspect'] - }), + nodeResolve({ dedupe: ['object-inspect'] }), commonjs(), json({ indent: '' }), visualizer({