-
Notifications
You must be signed in to change notification settings - Fork 170
/
.babelrc
35 lines (35 loc) · 918 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
{
"presets": [
["@babel/env", {
"targets": {
"browsers": ["last 2 versions"],
"node": "current"
}
}],
"@babel/react",
"@babel/typescript"
],
"plugins": [
"@babel/syntax-dynamic-import",
"@babel/syntax-import-meta",
["@babel/proposal-class-properties", { "loose": false }],
"@babel/proposal-json-strings",
["@babel/proposal-decorators", { "legacy": true }],
"@babel/proposal-function-sent",
"@babel/proposal-export-namespace-from",
"@babel/proposal-numeric-separator",
"@babel/proposal-throw-expressions",
"@babel/proposal-optional-chaining",
["module-resolver", {
"root": ["."],
"alias": {
"client": "./client",
"components": "./client/components",
"server": "./lib",
"common": "./common",
"locales": "./locales"
}
}],
"babel-plugin-styled-components"
]
}