about summary refs log tree commit diff
path: root/babel.config.js
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-06-15 17:40:18 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-06-15 17:40:18 -0500
commit77b938845aa909a70f896b759b04ba7c1b1d9aa6 (patch)
tree0d5f65c3efa2c7702f4c5eee024248b73ec36f07 /babel.config.js
parentb2dd8d4f440243ac2eb12e7013d5a024b4e95f07 (diff)
downloadvoidsky-77b938845aa909a70f896b759b04ba7c1b1d9aa6.tar.zst
Polyfills for native crypto
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js15
1 files changed, 15 insertions, 0 deletions
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,
+      },
+    ],
+  ],
 }