Skip to content

Commit

Permalink
chore: update to latest babel
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Mar 1, 2020
1 parent 93f7e58 commit 65b6316
Show file tree
Hide file tree
Showing 3 changed files with 986 additions and 592 deletions.
12 changes: 2 additions & 10 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
{
"presets": [
"react",
["env", { "targets": { "browsers": ["last 2 versions", "safari >= 7"] } }]
],
"plugins": [
"syntax-dynamic-import",
"syntax-trailing-function-commas",
"transform-class-properties",
"transform-object-rest-spread"
]
"presets": [ "@babel/preset-env", "@babel/preset-react" ],
"plugins": [ "transform-class-properties" ]
}
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"@babel/preset-env": "^7.8.6",
"@babel/preset-react": "^7.8.3",
"@uirouter/cypress-runner": "^1.1.0",
"autoprefixer": "^9.7.4",
"babel-core": "^6.26.3",
"babel-loader": "^8.0.6",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.4.2",
"file-loader": "^5.1.0",
Expand Down
Loading

0 comments on commit 65b6316

Please sign in to comment.