Skip to content

Commit

Permalink
fix config to enable class method arrow functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole Fish committed Jul 1, 2018
1 parent 481d4d6 commit 0c1bb05
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 88 deletions.
5 changes: 3 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"presets":[
"es2015", "react"
]
}
],
"plugins":["transform-class-properties"]
}
130 changes: 44 additions & 86 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"webpack-dev-server": "^2.5.1"
},
"dependencies": {
"babel-plugin-transform-class-properties": "^6.24.1",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-router-dom": "^4.1.1"
Expand Down

0 comments on commit 0c1bb05

Please sign in to comment.