From 3ce640f2cf61224cdecbdc1f7d19cae29c1d5bcd Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 22 Jan 2020 15:55:58 -0500 Subject: [PATCH] Remove some unnecessary options that were default values --- config/rollup.config.dev.js | 6 +----- config/rollup.config.legacy.js | 6 +----- config/rollup.config.stats.js | 6 +----- 3 files changed, 3 insertions(+), 15 deletions(-) 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({