about summary refs log tree commit diff
path: root/babel.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/babel.config.js b/babel.config.js
index 16f63e6c1..6ba90e98d 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -14,6 +14,17 @@ module.exports = {
         verbose: false,
       },
     ],
+    [
+      'module-resolver',
+      {
+        alias: {
+          // This needs to be mirrored in tsconfig.json
+          lib: './src/lib',
+          state: './src/state',
+          view: './src/view',
+        },
+      },
+    ],
     'react-native-reanimated/plugin', // NOTE: this plugin MUST be last
   ],
 }