Spaces:
Runtime error
Runtime error
Update .babelrc
Browse files
.babelrc
CHANGED
@@ -1,12 +1,22 @@
|
|
1 |
-
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"plugins": [
|
3 |
+
"@babel/plugin-syntax-dynamic-import",
|
4 |
+
"@babel/plugin-proposal-object-rest-spread",
|
5 |
+
[
|
6 |
+
"react-intl",
|
7 |
+
{
|
8 |
+
"messagesDir": "./translations/messages/"
|
9 |
+
}
|
10 |
+
]
|
11 |
+
],
|
12 |
+
"presets": [
|
13 |
+
[
|
14 |
+
"@babel/preset-env",
|
15 |
+
{
|
16 |
+
"useBuiltIns": "usage",
|
17 |
+
"corejs": 3
|
18 |
+
}
|
19 |
+
],
|
20 |
+
"@babel/preset-react"
|
21 |
+
]
|
22 |
+
}
|