forked from airdcpp-web/airdcpp-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
38 lines (38 loc) · 837 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
{
"presets": [
"@babel/react",
["@babel/env", {
"targets": {
"browsers": [
"last 5 Chrome versions",
"last 3 Firefox versions",
"safari >= 9",
"edge >= 15"
]
}
}],
"@babel/typescript"
],
"plugins": [
"@babel/transform-react-display-name",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-class-properties",
["module-resolver", {
"root": ["./src", "./node_modules/fomantic-ui-css"],
"alias": {
"fomantic-ui": "fomantic-ui-css"
}
}]
],
"env": {
"development": {
"plugins": [
"react-hot-loader/babel"
]
},
"test": {
// https://facebook.github.io/jest/docs/tutorial-webpack.html
//"plugins": ["transform-es2015-modules-commonjs"]
}
}
}