From 77b938845aa909a70f896b759b04ba7c1b1d9aa6 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 15 Jun 2022 17:40:18 -0500 Subject: Polyfills for native crypto --- babel.config.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'babel.config.js') diff --git a/babel.config.js b/babel.config.js index cf1f9fbbc..e11e3a9df 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,18 @@ module.exports = { presets: ['module:metro-react-native-babel-preset'], + plugins: [ + [ + 'module:react-native-dotenv', + { + // envName: 'APP_ENV', + moduleName: '@env', + path: '.env', + blocklist: null, + allowlist: null, + safe: false, + allowUndefined: true, + verbose: false, + }, + ], + ], } -- cgit 1.4.1