File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -110,8 +110,10 @@ module.exports = {
110110 module : {
111111 strictExportPresence : true ,
112112 rules : [
113- // Disable require.ensure as it's not a standard language feature.
114- { parser : { requireEnsure : false } } ,
113+ // TODO: Disable require.ensure as it's not a standard language feature.
114+ // We are waiting for https://github.com/facebookincubator/create-react-app/issues/2176.
115+ // { parser: { requireEnsure: false } },
116+
115117 // First, run the linter.
116118 // It's important to do this before Babel processes the JS.
117119 {
Original file line number Diff line number Diff line change @@ -107,8 +107,10 @@ module.exports = {
107107 module : {
108108 strictExportPresence : true ,
109109 rules : [
110- // Disable require.ensure as it's not a standard language feature.
111- { parser : { requireEnsure : false } } ,
110+ // TODO: Disable require.ensure as it's not a standard language feature.
111+ // We are waiting for https://github.com/facebookincubator/create-react-app/issues/2176.
112+ // { parser: { requireEnsure: false } },
113+
112114 // First, run the linter.
113115 // It's important to do this before Babel processes the JS.
114116 {
You can’t perform that action at this time.
0 commit comments