Skip to content

Commit 0464006

Browse files
Update babel & conver "targets" to browserslist format (#1481)
1 parent 0b1d3de commit 0464006

File tree

3 files changed

+431
-426
lines changed

3 files changed

+431
-426
lines changed

.babelrc.js

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
module.exports = {
22
"presets": [["@babel/preset-env", {
33
"modules": process.env.BABEL_MODULES ? false : 'commonjs',
4-
"targets": {
5-
"node": 6,
6-
"browsers": [
7-
"ie 9",
8-
"ios 9",
9-
"last 2 chrome versions",
10-
"last 2 edge versions",
11-
"last 2 firefox versions",
12-
]
13-
}
4+
"targets": [
5+
"node 6",
6+
"ie 9",
7+
"ios 9",
8+
"last 2 chrome versions",
9+
"last 2 edge versions",
10+
"last 2 firefox versions",
11+
],
1412
}]],
1513
"plugins": [
1614
"./resources/inline-invariant",

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@
4545
"iterall": "^1.2.2"
4646
},
4747
"devDependencies": {
48-
"@babel/cli": "7.0.0-rc.2",
49-
"@babel/core": "7.0.0-rc.2",
50-
"@babel/plugin-proposal-class-properties": "7.0.0-rc.2",
51-
"@babel/plugin-proposal-object-rest-spread": "7.0.0-rc.2",
52-
"@babel/plugin-syntax-async-generators": "7.0.0-rc.2",
53-
"@babel/plugin-transform-classes": "7.0.0-rc.2",
54-
"@babel/plugin-transform-destructuring": "7.0.0-rc.2",
55-
"@babel/plugin-transform-flow-strip-types": "7.0.0-rc.2",
56-
"@babel/plugin-transform-spread": "7.0.0-rc.2",
57-
"@babel/polyfill": "7.0.0-rc.2",
58-
"@babel/preset-env": "7.0.0-rc.2",
59-
"@babel/register": "7.0.0-rc.2",
48+
"@babel/cli": "7.0.0-rc.3",
49+
"@babel/core": "7.0.0-rc.3",
50+
"@babel/plugin-proposal-class-properties": "7.0.0-rc.3",
51+
"@babel/plugin-proposal-object-rest-spread": "7.0.0-rc.3",
52+
"@babel/plugin-syntax-async-generators": "7.0.0-rc.3",
53+
"@babel/plugin-transform-classes": "7.0.0-rc.3",
54+
"@babel/plugin-transform-destructuring": "7.0.0-rc.3",
55+
"@babel/plugin-transform-flow-strip-types": "7.0.0-rc.3",
56+
"@babel/plugin-transform-spread": "7.0.0-rc.3",
57+
"@babel/polyfill": "7.0.0-rc.3",
58+
"@babel/preset-env": "7.0.0-rc.3",
59+
"@babel/register": "7.0.0-rc.3",
6060
"babel-eslint": "8.2.6",
6161
"beautify-benchmark": "0.2.4",
6262
"benchmark": "2.1.4",

0 commit comments

Comments
 (0)