diff --git a/metro.config.js b/metro.config.js index 0e1c24810..6827018c8 100644 --- a/metro.config.js +++ b/metro.config.js @@ -7,5 +7,6 @@ module.exports = { resolver: { ...defaultConfig.resolver, unstable_enablePackageExports: true, + sourceExts: [...defaultConfig.resolver.sourceExts, "mjs"], }, };