File tree Expand file tree Collapse file tree 5 files changed +2
-8
lines changed Expand file tree Collapse file tree 5 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -521,7 +521,6 @@ module.exports = {
521521 spyOnProd : 'readonly' ,
522522 __DEV__ : 'readonly' ,
523523 __EXPERIMENTAL__ : 'readonly' ,
524- __NEXT_MAJOR__ : 'readonly' ,
525524 __EXTENSION__ : 'readonly' ,
526525 __PROFILE__ : 'readonly' ,
527526 __TEST__ : 'readonly' ,
Original file line number Diff line number Diff line change @@ -137,8 +137,9 @@ export const transitionLaneExpirationMs = 5000;
137137// -----------------------------------------------------------------------------
138138// Ready for next major.
139139//
140- // __NEXT_MAJOR__ is an alias for __EXPERIMENTAL__ .
140+ // Alias __NEXT_MAJOR__ to __EXPERIMENTAL__ for easier skimming .
141141// -----------------------------------------------------------------------------
142+ const __NEXT_MAJOR__ = __EXPERIMENTAL__ ;
142143
143144// Not ready to break experimental yet.
144145export const disableLegacyContext = false ;
Original file line number Diff line number Diff line change 1212declare var __PROFILE__: boolean ;
1313declare var __UMD__: boolean ;
1414declare var __EXPERIMENTAL__: boolean ;
15- declare var __NEXT_MAJOR__: boolean ;
1615declare var __VARIANT__: boolean ;
1716
1817declare var __REACT_DEVTOOLS_GLOBAL_HOOK__: any ; /*?{
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ global.__EXPERIMENTAL__ =
1919 ? RELEASE_CHANNEL === 'experimental'
2020 : true ;
2121
22- global . __NEXT_MAJOR__ = __EXPERIMENTAL__ ;
23-
2422global . __VARIANT__ = ! ! process . env . VARIANT ;
2523
2624if ( typeof window !== 'undefined' ) {
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ const __EXPERIMENTAL__ =
3434 ? RELEASE_CHANNEL === 'experimental'
3535 : true ;
3636
37- const __NEXT_MAJOR__ = __EXPERIMENTAL__ ;
38-
3937// Errors in promises should be fatal.
4038let loggedErrors = new Set ( ) ;
4139process . on ( 'unhandledRejection' , err => {
@@ -470,7 +468,6 @@ function getPlugins(
470468 ? "'production'"
471469 : "'development'" ,
472470 __EXPERIMENTAL__ ,
473- __NEXT_MAJOR__ ,
474471 } ,
475472 } ) ,
476473 // The CommonJS plugin *only* exists to pull "art" into "react-art".
You can’t perform that action at this time.
0 commit comments