File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ const config = {
4747 experimentalImportSupport : false ,
4848 inlineRequires : true ,
4949 } ,
50+ unstable_disableES6Transforms : true ,
5051 } ) ,
5152 } ,
5253} ;
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ const config = {
4747 experimentalImportSupport : false ,
4848 inlineRequires : true ,
4949 } ,
50+ unstable_disableES6Transforms : true ,
5051 } ) ,
5152 } ,
5253} ;
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ const config = {
3333 // We need to make sure that only one version is loaded for peerDependencies
3434 // So we block them at the root, and alias them to the versions in example's node_modules
3535 resolver : {
36- blacklistRE : exclusionList (
36+ blockList : exclusionList (
3737 modules . map (
3838 ( m ) =>
39- new RegExp ( `^${ escape ( path . join ( root , 'node_modules' , m ) ) } \\ /.*$` )
39+ new RegExp ( `^${ escape ( path . join ( root , 'node_modules' , m ) ) } \/.*$` )
4040 ) . concat ( [
4141 // This stops "npx @react-native-community/cli run-windows" from causing the metro server to crash if its already running
4242 new RegExp (
@@ -67,6 +67,7 @@ const config = {
6767 experimentalImportSupport : false ,
6868 inlineRequires : true ,
6969 } ,
70+ unstable_disableES6Transforms : true ,
7071 } ) ,
7172 } ,
7273} ;
You can’t perform that action at this time.
0 commit comments