aboutsummaryrefslogtreecommitdiff
path: root/metro.config.js
diff options
context:
space:
mode:
authorHusam Salhab <47015061+hsalhab@users.noreply.github.com>2020-06-24 20:01:35 -0400
committerGitHub <noreply@github.com>2020-06-24 20:01:35 -0400
commitc301252081ef31fe24160713d801722fc73e703b (patch)
tree86f4d47d56a3945ab8f763e132b81aaaa5b2e2f8 /metro.config.js
parent4efe926122873adf8a598bb18b3eaf5d5a077cb4 (diff)
parentd9e0cde89b1e2c2483f91c656d6000f3b806181d (diff)
Merge pull request #3 from leonyjiang/master
[TMA-55] - Add react-native/typescript template
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 00000000..13a96421
--- /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: false,
+ },
+ }),
+ },
+};