We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 003b6ef commit 11a4e17Copy full SHA for 11a4e17
config/babel.prod.js
@@ -33,6 +33,10 @@ module.exports = {
33
regenerator: true
34
}],
35
// Optimization: hoist JSX that never changes out of render()
36
- require.resolve('babel-plugin-transform-react-constant-elements')
+ // Disabled because of issues:
37
+ // * https://github.com/facebookincubator/create-react-app/issues/525
38
+ // * https://phabricator.babeljs.io/search/query/pCNlnC2xzwzx/
39
+ // TODO: Enable again when these issues are resolved.
40
+ // require.resolve('babel-plugin-transform-react-constant-elements')
41
]
42
};
0 commit comments