File tree 3 files changed +6
-22
lines changed
3 files changed +6
-22
lines changed Original file line number Diff line number Diff line change 12
12
],
13
13
"peerDependencies" : {
14
14
"babel-eslint" : " ^7.2.3" ,
15
- "eslint" : " ^3.19.0 " ,
15
+ "eslint" : " ^4.1.1 " ,
16
16
"eslint-plugin-flowtype" : " ^2.33.0" ,
17
17
"eslint-plugin-import" : " ^2.2.0" ,
18
18
"eslint-plugin-jsx-a11y" : " ^5.0.3" ,
Original file line number Diff line number Diff line change @@ -144,12 +144,7 @@ module.exports = {
144
144
enforce : 'pre' ,
145
145
include : paths . appSrc ,
146
146
} ,
147
- {
148
- test : / \. j s $ / ,
149
- loader : require . resolve ( 'source-map-loader' ) ,
150
- enforce : 'pre' ,
151
- include : paths . appSrc ,
152
- } ,
147
+
153
148
// ** ADDING/UPDATING LOADERS **
154
149
// The "file" loader handles all assets unless explicitly excluded.
155
150
// The `exclude` list *must* be updated with every change to loader extensions.
@@ -162,14 +157,8 @@ module.exports = {
162
157
{
163
158
exclude : [
164
159
/ \. 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 ) ( \? .* ) ? $ / ,
160
+ / \. ( j s | j s x ) $ / ,
161
+ / \. ( t s | t s x ) $ / ,
173
162
/ \. c s s $ / ,
174
163
/ \. j s o n $ / ,
175
164
/ \. b m p $ / ,
@@ -237,7 +226,7 @@ module.exports = {
237
226
] ,
238
227
} ,
239
228
// ** STOP ** Are you adding a new loader?
240
- // Remember to add the new extension(s) to the "url " loader exclusion list.
229
+ // Remember to add the new extension(s) to the "file " loader exclusion list.
241
230
] ,
242
231
} ,
243
232
plugins : [
Original file line number Diff line number Diff line change @@ -144,12 +144,7 @@ module.exports = {
144
144
enforce : 'pre' ,
145
145
include : paths . appSrc ,
146
146
} ,
147
- {
148
- test : / \. j s $ / ,
149
- loader : require . resolve ( 'source-map-loader' ) ,
150
- enforce : 'pre' ,
151
- include : paths . appSrc ,
152
- } ,
147
+
153
148
// ** ADDING/UPDATING LOADERS **
154
149
// The "file" loader handles all assets unless explicitly excluded.
155
150
// The `exclude` list *must* be updated with every change to loader extensions.
You can’t perform that action at this time.
0 commit comments