Skip to content

Commit

Permalink
Re-define browser support matrix
Browse files Browse the repository at this point in the history
Currently supported browsers and engines: Firefox 52+, Chrome 55+, Edge 15+,
Safari 10.1+, iOS Safari 10.3+ and node 8.9+.
  • Loading branch information
stasm committed Jun 16, 2018
1 parent 7747baf commit 25e2132
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions babel_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,28 @@ export default {
modules: false,
targets: {
browsers: [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 9"
]
}
"Firefox >= 52",
"FirefoxAndroid >= 52",
"Chrome >= 55",
"ChromeAndroid >= 55",
"Edge >= 15",
"Safari >= 10.1",
"iOS >= 10.3",
],
node: "8.9",
},
exclude: [
// Exclude regeneratorRuntime explicitly because babel-preset-env
// incorrectly transpiles async functions for Firefox 52.
// See https://github.com/babel/babel/issues/8086.
"transform-regenerator"
],
}]
],
plugins: [
// Shipped in Firefox 57, Chrome 63
"@babel/plugin-proposal-async-generator-functions",
// Shipped in Firefox 55, Chrome 60
"@babel/plugin-proposal-object-rest-spread"
]
};

0 comments on commit 25e2132

Please sign in to comment.