Skip to content

Commit

Permalink
[FEATURE] - added transform-react-jsx-source
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelBenin committed Sep 28, 2017
1 parent acdbcc4 commit ff05b2b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Expand Up @@ -7,6 +7,9 @@
}],
"react"
],
"plugins": [
"transform-react-jsx-source"
],
"env": {
"coverage": {
"presets": [
Expand Down
5 changes: 4 additions & 1 deletion gulpfile.babel.js/configs/karma.conf.integration.js
Expand Up @@ -64,7 +64,10 @@ module.exports = function karmaConfIntegration(config) {
}
]
],
plugins: ['react-hot-loader/babel']
plugins: [
'react-hot-loader/babel',
'transform-react-jsx-source'
]
}
}
],
Expand Down
5 changes: 4 additions & 1 deletion gulpfile.babel.js/configs/karma.conf.unit.js
Expand Up @@ -73,7 +73,10 @@ module.exports = function karmaConfUnit(config) {
}
]
],
plugins: ['react-hot-loader/babel']
plugins: [
'react-hot-loader/babel',
'transform-react-jsx-source'
]
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.babel.js/configs/webpack.config.js
Expand Up @@ -64,7 +64,7 @@ module.exports = {
}
]
],
plugins: ['react-hot-loader/babel']
plugins: ['react-hot-loader/babel', 'transform-react-jsx-source']
}
}
],
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -92,6 +92,7 @@
"babel-eslint": "8.0.1",
"babel-loader": "7.1.2",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-transform-react-jsx-source": "6.22.0",
"babel-preset-env": "1.6.0",
"babel-preset-react": "6.24.1",
"babel-runtime": "6.26.0",
Expand Down

0 comments on commit ff05b2b

Please sign in to comment.