-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathbabel.config.js
More file actions
29 lines (27 loc) · 708 Bytes
/
babel.config.js
File metadata and controls
29 lines (27 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = function(api) {
api.cache(true);
const presets = [
[
'@babel/preset-env',
{
targets: {
chrome: '75',
firefox: '68',
safari: '12.1',
opera: '62',
edge: '18',
ie: '11',
node: '7',
ios: '12.1',
android: '67'
},
useBuiltIns: 'usage',
corejs: { version: 3, proposals: true },
debug: false
}
]
];
return {
presets
};
};