Commit 134d2297 authored by Dan Abramov's avatar Dan Abramov
Browse files

Reenable require.ensure()

parent dadf93b2
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 8 additions and 4 deletions
+8 -4
...@@ -110,8 +110,10 @@ module.exports = { ...@@ -110,8 +110,10 @@ module.exports = {
module: { module: {
strictExportPresence: true, strictExportPresence: true,
rules: [ rules: [
// Disable require.ensure as it's not a standard language feature. // TODO: Disable require.ensure as it's not a standard language feature.
{ parser: { requireEnsure: false } }, // We are waiting for https://github.com/facebookincubator/create-react-app/issues/2176.
// { parser: { requireEnsure: false } },
// First, run the linter. // First, run the linter.
// It's important to do this before Babel processes the JS. // It's important to do this before Babel processes the JS.
{ {
......
...@@ -107,8 +107,10 @@ module.exports = { ...@@ -107,8 +107,10 @@ module.exports = {
module: { module: {
strictExportPresence: true, strictExportPresence: true,
rules: [ rules: [
// Disable require.ensure as it's not a standard language feature. // TODO: Disable require.ensure as it's not a standard language feature.
{ parser: { requireEnsure: false } }, // We are waiting for https://github.com/facebookincubator/create-react-app/issues/2176.
// { parser: { requireEnsure: false } },
// First, run the linter. // First, run the linter.
// It's important to do this before Babel processes the JS. // It's important to do this before Babel processes the JS.
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment