text: // Learn more https://docs.expo.dev/guides/monorepos
  const { getDefaultConfig } = require('expo/metro-config');
  const path = require('path');
  
  const projectRoot = __dirname;
  const workspaceRoot = path.resolve(projectRoot, '../..');
  
  const config = getDefaultConfig(projectRoot);
  
  config.watchFolders = [workspaceRoot];
  config.resolver.nodeModulesPath = [
    path.resolve(projectRoot, 'node_modules'),
    path.resolve(workspaceRoot, 'node_modules'),
  ];
  
  module.exports = config;
  