forked from GetStream/stream-chat-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.babelrc
39 lines (39 loc) · 801 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
39
{
"env": {
"production": {
"presets": [
[
"@babel/env",
{
"modules": false
}
]
]
}
},
"overrides": [
{
"compact": false
}
],
"plugins": [
[
"i18next-extract",
{
"contextSeparator": "__",
"defaultContexts": [""],
"defaultNS": "en",
"locales": ["en", "fr", "hi", "it", "nl", "ru", "tr"],
"jsonSpace": 4,
"keySeparator": null,
"nsSeparator": null,
"keyAsDefaultValue": ["en"],
"keyAsDefaultValueForDerivedKeys": false,
"outputPath": "src/i18n/{{locale}}.json",
"discardOldKeys": true
}
],
"module-resolver"
],
"presets": ["@babel/env", "module:metro-react-native-babel-preset"]
}