From 175b4ed7d2f64fb8dd6ab9e416cbe6da3475acd3 Mon Sep 17 00:00:00 2001 From: karthiccc23 Date: Fri, 26 Jul 2024 15:41:04 -0700 Subject: [PATCH] Add mjs extension to metroConfig --- ern-composite-gen/src/createMetroConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ern-composite-gen/src/createMetroConfig.ts b/ern-composite-gen/src/createMetroConfig.ts index 84676873d..fe9052f61 100644 --- a/ern-composite-gen/src/createMetroConfig.ts +++ b/ern-composite-gen/src/createMetroConfig.ts @@ -83,7 +83,7 @@ module.exports = { // Archives (virtual files) "zip" ], - sourceExts: ["js", "json", "ts", "tsx", "svg"], + sourceExts: ["js", "json", "ts", "tsx", "svg", "mjs"], }, transformer: { getTransformOptions: async () => ({