Set up babel's ability to handle trailing commas
This commit is contained in:
parent
fece65159a
commit
b118f80281
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"plugins": ["syntax-trailing-function-commas"],
|
||||
"presets": ["es2015", "react"]
|
||||
}
|
|
@ -38,6 +38,7 @@
|
|||
"assets-webpack-plugin": "^3.4.0",
|
||||
"babel-cli": "^6.8.0",
|
||||
"babel-loader": "^6.2.4",
|
||||
"babel-plugin-syntax-trailing-function-commas": "^6.8.0",
|
||||
"babel-preset-es2015": "^6.6.0",
|
||||
"babel-preset-react": "^6.5.0",
|
||||
"gulp": "^3.9.1",
|
||||
|
|
Loading…
Reference in New Issue