File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 1212  ],
1313  "peerDependencies" : {
1414    "babel-eslint" : " ^7.2.3" 
15-     "eslint" : " ^3.19.0 " 
15+     "eslint" : " ^4.1.1 " 
1616    "eslint-plugin-flowtype" : " ^2.33.0" 
1717    "eslint-plugin-import" : " ^2.2.0" 
1818    "eslint-plugin-jsx-a11y" : " ^5.0.3" 
Original file line number Diff line number Diff line change @@ -162,14 +162,8 @@ module.exports = {
162162      { 
163163        exclude : [ 
164164          / \. h t m l $ / , 
165-           // We have to write /\.(js|jsx)(\?.*)?$/ rather than just /\.(js|jsx)$/ 
166-           // because you might change the hot reloading server from the custom one 
167-           // to Webpack's built-in webpack-dev-server/client?/, which would not 
168-           // get properly excluded by /\.(js|jsx)$/ because of the query string. 
169-           // Webpack 2 fixes this, but for now we include this hack. 
170-           // https://github.com/facebookincubator/create-react-app/issues/1713 
171-           / \. ( j s | j s x ) ( \? .* ) ? $ / , 
172-           / \. ( t s | t s x ) ( \? .* ) ? $ / , 
165+           / \. ( j s | j s x ) $ / , 
166+           / \. ( t s | t s x ) $ / , 
173167          / \. c s s $ / , 
174168          / \. j s o n $ / , 
175169          / \. b m p $ / , 
@@ -237,7 +231,7 @@ module.exports = {
237231        ] , 
238232      } , 
239233      // ** STOP ** Are you adding a new loader? 
240-       // Remember to add the new extension(s) to the "url " loader exclusion list. 
234+       // Remember to add the new extension(s) to the "file " loader exclusion list. 
241235    ] , 
242236  } , 
243237  plugins : [ 
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ module.exports = {
189189      { 
190190        test : / \. ( t s | t s x ) $ / , 
191191        include : paths . appSrc , 
192-         loader : require . resolve ( 'ts-loader' ) 
192+         loader : require . resolve ( 'ts-loader' ) , 
193193      } , 
194194      // The notation here is somewhat confusing. 
195195      // "postcss" loader applies autoprefixer to our CSS. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments