import path from "path"; import { getDefaultConfig } from "@expo/metro-config"; import { withMetroConfig } from "react-native-monorepo-config"; const root = path.resolve(__dirname, ".."); const config = withMetroConfig(getDefaultConfig(__dirname), { root, dirname: __dirname }); module.exports = config;