-
Notifications
You must be signed in to change notification settings - Fork 49
/
babel.config.js
28 lines (28 loc) · 961 Bytes
/
babel.config.js
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
// Config used for tests files
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
// Only browsers with support of async/await are supported
// List based on the GitHub preset: https://github.com/github/babel-preset-github/blob/master/index.js
browsers: [
'last 8 Chrome versions',
'last 4 Firefox versions',
'last 3 Safari versions',
'last 4 Edge versions',
'Firefox ESR',
'Chrome >= 55',
'Firefox >= 63',
'Safari >= 10.3',
'Edge >= 15',
'Opera >= 42'
]
}
}
],
'@babel/preset-react'
]
};