-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.babelrc
38 lines (38 loc) · 980 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
{
"sourceMaps": "both",
"presets": [
["@babel/env", {
"useBuiltIns": "usage",
"corejs": "^3.0.1"
}]
,"@babel/typescript"
],
"plugins": [
["@babel/plugin-proposal-class-properties"]
,["@babel/plugin-proposal-object-rest-spread"]
,["module-resolver", {
"root": ["./src"]
,"extensions": [".js", ".ts"]
,"cwd": "packagejson"
}]
]
,"env": {
"test-src": {
"plugins": [
["module-resolver", {
"root": ["./src", "./test"]
,"extensions": [".js", ".ts"]
}]
]
}
,"test-compiled": {
"plugins": [
["module-resolver", {
"root": ["./dist", "./test"]
,"extensions": [".js"]
,"cwd": "packagejson"
}]
]
}
}
}