-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
39 lines (38 loc) · 938 Bytes
/
.babelrc
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
30
31
32
33
34
35
36
37
38
39
{
"presets": [
["@babel/preset-env", {
"debug": false,
"loose": false,
"modules": false,
"targets": {
"browsers": [
"ie >= 11",
"firefox >= 45",
"chrome >= 50",
"edge >= 25",
"safari >= 10.10",
"ios >= 9",
"android >= 5.1"
]
},
"useBuiltIns": "usage",
"corejs": { "version": 3, "proposals": true }
}],
"@babel/preset-react"
],
"plugins": [
["@babel/plugin-transform-runtime", {
"absoluteRuntime": false,
"corejs": 3,
"helpers": true,
"regenerator": true,
"useESModules": true
}],
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-class-properties",
"react-hot-loader/babel"
]
}
// Plugins run before Presets.
// Plugin ordering is first to last.
// Preset ordering is reversed (last to first).