File tree Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Expand file tree Collapse file tree 1 file changed +22
-6
lines changed Original file line number Diff line number Diff 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} ;
You can’t perform that action at this time.
0 commit comments