Skip to content

Commit 25e2132

Browse files
committed
Re-define browser support matrix
Currently supported browsers and engines: Firefox 52+, Chrome 55+, Edge 15+, Safari 10.1+, iOS Safari 10.3+ and node 8.9+.
1 parent 7747baf commit 25e2132

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

babel_config.js

+22-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,28 @@ export default {
66
modules: false,
77
targets: {
88
browsers: [
9-
">1%",
10-
"last 4 versions",
11-
"Firefox ESR",
12-
"not ie < 9"
13-
]
14-
}
9+
"Firefox >= 52",
10+
"FirefoxAndroid >= 52",
11+
"Chrome >= 55",
12+
"ChromeAndroid >= 55",
13+
"Edge >= 15",
14+
"Safari >= 10.1",
15+
"iOS >= 10.3",
16+
],
17+
node: "8.9",
18+
},
19+
exclude: [
20+
// Exclude regeneratorRuntime explicitly because babel-preset-env
21+
// incorrectly transpiles async functions for Firefox 52.
22+
// See https://github.com/babel/babel/issues/8086.
23+
"transform-regenerator"
24+
],
1525
}]
26+
],
27+
plugins: [
28+
// Shipped in Firefox 57, Chrome 63
29+
"@babel/plugin-proposal-async-generator-functions",
30+
// Shipped in Firefox 55, Chrome 60
31+
"@babel/plugin-proposal-object-rest-spread"
1632
]
1733
};

0 commit comments

Comments
 (0)