From 4b7c92beac86083397fc4b6182eff9939ea5876c Mon Sep 17 00:00:00 2001 From: moklick Date: Wed, 20 Jan 2021 11:06:29 +0100 Subject: [PATCH] refactor(rollup): replace FORCE_SIMILAR_INSTEAD_OF_MAP with false --- rollup.config.js | 4 ++-- rollup.examples.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index d837ae1c..b8ce2f1a 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -39,8 +39,8 @@ const baseConfig = ({ mainFile = pkg.main, moduleFile = pkg.module, extractCss = replace({ __ENV__: JSON.stringify(processEnv), __REACT_FLOW_VERSION__: JSON.stringify(pkg.version), - // this comes from the easy-peasy dependency 'memoizerific' - 'process.env.FORCE_SIMILAR_INSTEAD_OF_MAP': JSON.stringify('true'), + // this comes from the easy-peasy dependency + 'process.env.FORCE_SIMILAR_INSTEAD_OF_MAP': false, }), bundleSize(), postcss({ diff --git a/rollup.examples.js b/rollup.examples.js index 07b3d8d2..3c4dd283 100644 --- a/rollup.examples.js +++ b/rollup.examples.js @@ -28,7 +28,7 @@ const rollupConfig = { plugins: [ replace({ 'process.env.NODE_ENV': isProd ? JSON.stringify('production') : JSON.stringify('development'), - 'process.env.FORCE_SIMILAR_INSTEAD_OF_MAP': 'false', + 'process.env.FORCE_SIMILAR_INSTEAD_OF_MAP': false, }), postcss({ modules: false,