diff --git a/.babelrc b/.babelrc index a4b2aee589911..2880552916426 100644 --- a/.babelrc +++ b/.babelrc @@ -23,6 +23,6 @@ "transform-es3-member-expression-literals", "transform-es3-property-literals", "./scripts/babel/transform-object-assign-require", - "babel-preset-react/node_modules/babel-plugin-transform-react-jsx-source" + "transform-react-jsx-source" ] } diff --git a/package.json b/package.json index 748f17e1900f0..c05f696c16edb 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "babel-plugin-transform-es3-member-expression-literals": "^6.5.0", "babel-plugin-transform-es3-property-literals": "^6.5.0", "babel-plugin-transform-object-rest-spread": "^6.6.5", + "babel-plugin-transform-react-jsx-source": "^6.8.0", "babel-preset-react": "^6.5.0", "browserify": "^13.0.0", "bundle-collapser": "^1.1.1",