File tree Expand file tree Collapse file tree 3 files changed +2729
-2118
lines changed Expand file tree Collapse file tree 3 files changed +2729
-2118
lines changed Original file line number Diff line number Diff line change 44 "private" : true ,
55 "dependencies" : {
66 "@babel/plugin-proposal-decorators" : " ^7.12.1" ,
7- "monkey-react-scripts" : " ^0.2.4 " ,
7+ "monkey-react-scripts" : " ^0.3.1 " ,
88 "node-sass" : " ^4.14.1" ,
99 "react" : " ^17.0.0" ,
1010 "react-dom" : " ^17.0.0" ,
11- "react-scripts" : " 3.4.4 " ,
11+ "react-scripts" : " 4.0.0 " ,
1212 "rtlcss" : " ^2.6.1" ,
1313 "webpack-visualizer-plugin" : " ^0.1.11"
1414 },
Original file line number Diff line number Diff line change 11module . exports . findRule = function findRule ( webpackConfig , callback ) {
2- const rules = webpackConfig . module . rules [ 2 ] . oneOf ;
2+ const rules = webpackConfig . module . rules [ 1 ] . oneOf ;
33 const index = rules . findIndex ( callback ) ;
44 if ( index === - 1 ) throw Error ( 'Loader not found' ) ;
55 return rules [ index ]
66} ;
77
88module . exports . findRules = function findRule ( webpackConfig , callback ) {
9- const rules = webpackConfig . module . rules [ 2 ] . oneOf ;
9+ const rules = webpackConfig . module . rules [ 1 ] . oneOf ;
1010 return rules . filter ( callback ) ;
1111} ;
1212
You can’t perform that action at this time.
0 commit comments