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