From 840eef18cef017a18287b275170040cbad905fee Mon Sep 17 00:00:00 2001 From: isaacwsolomon <isaacwsolomon@gmail.com> Date: Sun, 11 May 2025 20:02:08 +0200 Subject: [PATCH] Added code to metro.config file to make sure firebase is bundled correctly --- metro.config.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 metro.config.js diff --git a/metro.config.js b/metro.config.js new file mode 100644 index 0000000..763eb55 --- /dev/null +++ b/metro.config.js @@ -0,0 +1,7 @@ +const { getDefaultConfig } = require('@expo/metro-config'); + +const config = getDefaultConfig(__dirname); +config.resolver.sourceExts.push('cjs'); +config.resolver.unstable_enablePackageExports = false; + +module.exports = config; -- GitLab