metro.config.js 323 B

12345678910111213141516
  1. import path from "path";
  2. import {
  3. getDefaultConfig
  4. } from "@expo/metro-config";
  5. import {
  6. withMetroConfig
  7. } from "react-native-monorepo-config";
  8. const root = path.resolve(__dirname, "..");
  9. const config = withMetroConfig(getDefaultConfig(__dirname), {
  10. root,
  11. dirname: __dirname
  12. });
  13. module.exports = config;