We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ced17 commit e511d08Copy full SHA for e511d08
babel.config.js
@@ -1,3 +1,13 @@
1
module.exports = {
2
presets: ['module:metro-react-native-babel-preset'],
3
+ plugins: [
4
+ ['module:react-native-dotenv', {
5
+ 'moduleName': '@env',
6
+ 'path': '.env',
7
+ 'blacklist': null,
8
+ 'whitelist': null,
9
+ 'safe': false,
10
+ 'allowUndefined': true
11
+ }]
12
+ ]
13
};
package.json
@@ -17,6 +17,7 @@
17
"@sentry/react-native": "3.2.0",
18
"react": "17.0.1",
19
"react-native": "0.64.0",
20
+ "react-native-dotenv": "^3.3.1",
21
"react-native-gesture-handler": "^1.7.0",
22
"react-native-linear-gradient": "^2.5.6",
23
"react-native-reanimated": "^1.13.0",
0 commit comments