Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Commit

Permalink
Update dependencies and configuration for Babel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurClemens committed Oct 19, 2018
1 parent e5dfd88 commit 50c629b
Show file tree
Hide file tree
Showing 8 changed files with 1,210 additions and 1,243 deletions.
14 changes: 4 additions & 10 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
{
"presets": [
["env", { "modules": false }]
],
"plugins": [
"external-helpers",
"transform-object-assign",
"transform-object-rest-spread"
["@babel/preset-env"]
],
"env": {
"test": {
"presets": [
"env"
],
"plugins": ["transform-runtime"]
"@babel/preset-env"
]
},
"production": {
"presets": [
["env", { "modules": false }],
["@babel/preset-env"],
["minify"]
],
}
Expand Down
6 changes: 2 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

{
"env": {
"browser": true,
Expand All @@ -7,10 +8,7 @@
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
"ecmaVersion": 7
},
"rules": {
"indent": [
Expand Down
2 changes: 1 addition & 1 deletion dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/bundle.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 50c629b

Please sign in to comment.