File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
packages/eslint-config-react-app Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -220,11 +220,13 @@ module.exports = {
220
220
'valid-typeof' : 'warn' ,
221
221
'no-restricted-properties' : [
222
222
'error' ,
223
- {
224
- object : 'require' ,
225
- property : 'ensure' ,
226
- message : 'Please use import() instead. More info: https://webpack.js.org/guides/code-splitting-import/#dynamic-import' ,
227
- } ,
223
+ // TODO: reenable once import() is no longer slow.
224
+ // https://github.com/facebookincubator/create-react-app/issues/2176
225
+ // {
226
+ // object: 'require',
227
+ // property: 'ensure',
228
+ // message: 'Please use import() instead. More info: https://webpack.js.org/guides/code-splitting-import/#dynamic-import',
229
+ // },
228
230
{
229
231
object : 'System' ,
230
232
property : 'import' ,
You can’t perform that action at this time.
0 commit comments