File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -358,14 +358,16 @@ function getPlugins(
358
358
// Turn __DEV__ and process.env checks into constants.
359
359
replace ( {
360
360
preventAssignment : true ,
361
- __DEV__ : isProduction ? 'false' : 'true' ,
362
- __PROFILE__ : isProfiling || ! isProduction ? 'true' : 'false' ,
363
- __UMD__ : isUMDBundle ? 'true' : 'false' ,
364
- 'process.env.NODE_ENV' : isProduction ? "'production'" : "'development'" ,
365
- __EXPERIMENTAL__ ,
366
- // Enable forked reconciler.
367
- // NOTE: I did not put much thought into how to configure this.
368
- __VARIANT__ : bundle . enableNewReconciler === true ,
361
+ values : {
362
+ __DEV__ : isProduction ? 'false' : 'true' ,
363
+ __PROFILE__ : isProfiling || ! isProduction ? 'true' : 'false' ,
364
+ __UMD__ : isUMDBundle ? 'true' : 'false' ,
365
+ 'process.env.NODE_ENV' : isProduction ? "'production'" : "'development'" ,
366
+ __EXPERIMENTAL__ ,
367
+ // Enable forked reconciler.
368
+ // NOTE: I did not put much thought into how to configure this.
369
+ __VARIANT__ : bundle . enableNewReconciler === true ,
370
+ }
369
371
} ) ,
370
372
// The CommonJS plugin *only* exists to pull "art" into "react-art".
371
373
// I'm going to port "art" to ES modules to avoid this problem.
You can’t perform that action at this time.
0 commit comments