refactor(rollup): replace FORCE_SIMILAR_INSTEAD_OF_MAP with false

This commit is contained in:
moklick
2021-01-20 11:06:29 +01:00
parent 571043b249
commit 4b7c92beac
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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({
+1 -1
View File
@@ -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,