Skip to content

Commit

Permalink
downgrade babel options
Browse files Browse the repository at this point in the history
targeting node breaks uglify :/
  • Loading branch information
gilbarbara committed Dec 5, 2017
1 parent a71dc54 commit b3aaba7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 29 deletions.
23 changes: 5 additions & 18 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"presets": [
[
"env", {
"useBuiltIns": true,
"modules": false,
"targets": {
"node": "8"
"env",
{
"useBuiltIns": true,
"modules": false
}
}
],
"react",
"stage-1"
Expand All @@ -21,20 +19,9 @@
]
},
"commonjs": {
"presets": [
[
"env", {
"useBuiltIns": true,
"targets": {
"browsers": ["last 2 versions", "safari >= 7"]
}
}
],
"react",
"stage-1"
],
"plugins": [
"array-includes",
["transform-es2015-modules-commonjs", { "loose": true }],
"transform-flow-strip-types",
"transform-object-assign"
]
Expand Down
12 changes: 1 addition & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,5 @@
"postmerge": "node tasks update && npm update",
"prepublishOnly": "npm run build"
},
"browserslist": [
"ie >= 10",
"ie_mob >= 10",
"ff >= 40",
"chrome >= 40",
"safari >= 7",
"opera >= 23",
"ios >= 8",
"android >= 4.4",
"bb >= 10"
]
"browserslist": ["last 2 versions", "safari >= 8", "ios > 8"]
}

0 comments on commit b3aaba7

Please sign in to comment.