Skip to content

Commit

Permalink
build(babelrc): Only strip jsx extension when building production
Browse files Browse the repository at this point in the history
  • Loading branch information
BerkeleyTrue committed May 14, 2017
1 parent f529b47 commit ece0a0f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@
],
"plugins": [
"transform-function-bind",
"transform-runtime",
"jsx-strip-ext"
"transform-runtime"
],
"env": {
"production": {
"plugins": [
"jsx-strip-ext"
]
},
"development": {
"presets": [
"react-hmre"
Expand Down

0 comments on commit ece0a0f

Please sign in to comment.