-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.babelrc
50 lines (50 loc) · 1.43 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
{
"plugins": [
"lodash",
["transform-define", "src/env-config.js"],
["syntax-dynamic-import", { "useBuiltIns": true }],
["transform-object-rest-spread", { "useBuiltIns": true }],
["transform-decorators-legacy", { "useBuiltIns": true }],
["transform-class-properties", { "useBuiltIns": true }]
],
"presets": [
[ "env", {
"targets": {
"browsers": ["> 1%", "last 2 versions"]
},
"useBuiltIns": true,
"modules": false,
"loose": true,
"exclude": [
"transform-regenerator",
"es6.set",
"es6.map",
"es6.weak-map",
"es6.weak-set",
"es6.typed.array-buffer",
"es6.typed.int8-array",
"es6.typed.uint8-array",
"es6.typed.uint8-clamped-array",
"es6.typed.int16-array",
"es6.typed.uint16-array",
"es6.typed.int32-array",
"es6.typed.uint32-array",
"es6.typed.float32-array",
"es6.typed.float64-array",
"es6.reflect.apply",
"es6.reflect.construct",
"es6.reflect.define-property",
"es6.reflect.delete-property",
"es6.reflect.get",
"es6.reflect.get-own-property-descriptor",
"es6.reflect.get-prototype-of",
"es6.reflect.has",
"es6.reflect.is-extensible",
"es6.reflect.own-keys",
"es6.reflect.prevent-extensions",
"es6.reflect.set",
"es6.reflect.set-prototype-of"
]
}]
]
}