Commit 9c33f602 authored by Brian Ng's avatar Brian Ng Committed by Joe Haddad
Browse files

Re-enable transform-react-constant-elements (#1552)

* Bump babel deps

* Re-enable transform-react-constant-elements

Resolves #553
parent 1d5a2773
4 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,!1933Add note about installing watchman
Showing with 12 additions and 17 deletions
+12 -17
...@@ -109,13 +109,8 @@ if (env === 'test') { ...@@ -109,13 +109,8 @@ if (env === 'test') {
if (env === 'production') { if (env === 'production') {
// Optimization: hoist JSX that never changes out of render() // Optimization: hoist JSX that never changes out of render()
// Disabled because of issues: plugins.push.apply(plugins, [
// * https://github.com/facebookincubator/create-react-app/issues/525 require.resolve('babel-plugin-transform-react-constant-elements')
// * https://phabricator.babeljs.io/search/query/pCNlnC2xzwzx/ ]);
// * https://github.com/babel/babel/issues/4516
// TODO: Enable again when these issues are resolved.
// plugins.push.apply(plugins, [
// require.resolve('babel-plugin-transform-react-constant-elements')
// ]);
} }
} }
...@@ -12,18 +12,18 @@ ...@@ -12,18 +12,18 @@
], ],
"dependencies": { "dependencies": {
"babel-plugin-syntax-dynamic-import": "6.18.0", "babel-plugin-syntax-dynamic-import": "6.18.0",
"babel-plugin-transform-class-properties": "6.22.0", "babel-plugin-transform-class-properties": "6.23.0",
"babel-plugin-transform-es2015-parameters": "6.22.0", "babel-plugin-transform-es2015-parameters": "6.23.0",
"babel-plugin-transform-object-rest-spread": "6.22.0", "babel-plugin-transform-object-rest-spread": "6.23.0",
"babel-plugin-transform-react-constant-elements": "6.22.0", "babel-plugin-transform-react-constant-elements": "6.23.0",
"babel-plugin-transform-react-jsx": "6.22.0", "babel-plugin-transform-react-jsx": "6.23.0",
"babel-plugin-transform-react-jsx-self": "6.22.0", "babel-plugin-transform-react-jsx-self": "6.22.0",
"babel-plugin-transform-react-jsx-source": "6.22.0", "babel-plugin-transform-react-jsx-source": "6.22.0",
"babel-plugin-transform-regenerator": "6.22.0", "babel-plugin-transform-regenerator": "6.22.0",
"babel-plugin-transform-runtime": "6.22.0", "babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.1.8", "babel-preset-env": "1.1.8",
"babel-preset-latest": "6.22.0", "babel-preset-latest": "6.22.0",
"babel-preset-react": "6.22.0", "babel-preset-react": "6.23.0",
"babel-runtime": "6.22.0" "babel-runtime": "6.23.0"
} }
} }
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
}, },
"dependencies": { "dependencies": {
"autoprefixer": "6.7.2", "autoprefixer": "6.7.2",
"babel-core": "6.22.1", "babel-core": "6.23.1",
"babel-eslint": "7.1.1", "babel-eslint": "7.1.1",
"babel-jest": "18.0.0", "babel-jest": "18.0.0",
"babel-loader": "6.2.10", "babel-loader": "6.2.10",
......
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