-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.babelrc
More file actions
29 lines (29 loc) · 685 Bytes
/
.babelrc
File metadata and controls
29 lines (29 loc) · 685 Bytes
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
{
"env": {
"production": {
"presets": [
"@babel/env",
"@babel/preset-typescript",
"@babel/preset-react",
"@emotion/babel-preset-css-prop",
],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread",
],
},
"development": {
"presets": [
"@babel/env",
"@babel/preset-typescript",
"@babel/preset-react",
["@emotion/babel-preset-css-prop", { "sourceMap": true }],
],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread",
"react-hot-loader/babel",
],
}
}
}