Skip to content

Commit

Permalink
Add es2015-classes / class-properties plugins only for development (#…
Browse files Browse the repository at this point in the history
…640)
  • Loading branch information
jhen0409 authored Dec 28, 2016
1 parent c9b28f0 commit c3ca932
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"presets": [
["env", {"targets": { "node": 6 }, "useBuiltIns": true }],
"presets": [
["env", { "targets": { "node": 6 }, "useBuiltIns": true }],
"stage-0",
"react"
],
Expand All @@ -11,7 +11,11 @@
"plugins": ["babel-plugin-dev-expression"]
},
"development": {
"plugins": ["tcomb"],
"plugins": [
"transform-class-properties",
"transform-es2015-classes",
"tcomb"
],
"presets": ["react-hmre"]
},
"test": {
Expand Down

0 comments on commit c3ca932

Please sign in to comment.