refactor(rollup): replace FORCE_SIMILAR_INSTEAD_OF_MAP with false
This commit is contained in:
+2
-2
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user