about summary refs log tree commit diff
path: root/metro.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'metro.config.js')
-rw-r--r--metro.config.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/metro.config.js b/metro.config.js
new file mode 100644
index 000000000..e91aba937
--- /dev/null
+++ b/metro.config.js
@@ -0,0 +1,17 @@
+/**
+ * Metro configuration for React Native
+ * https://github.com/facebook/react-native
+ *
+ * @format
+ */
+
+module.exports = {
+  transformer: {
+    getTransformOptions: async () => ({
+      transform: {
+        experimentalImportSupport: false,
+        inlineRequires: true,
+      },
+    }),
+  },
+};