const { getDefaultConfig } = require('expo/metro-config');

const config = getDefaultConfig(__dirname);

// Add GLB file support
config.resolver.assetExts.push('glb', 'gltf', 'jpg');

// Serve static files from public directory
config.server = {
  ...config.server,
  static: {
    directory: 'public',
    publicPath: '/'
  }
};

module.exports = config; 