Skip to content

Conversation

@thymikee
Copy link
Contributor

Summary

  • Remove metro.config.js from plugin-metro template - projects now work out of the box without it
  • Re-export getDefaultConfig and mergeConfig from @rock-js/plugin-metro for easy customization
  • When no config exists, use defaults from @react-native/metro-config instead of throwing an error

Usage (when customization needed):

const { getDefaultConfig, mergeConfig } = require('@rock-js/plugin-metro');
/**
 * @type {import('@rock-js/plugin-metro').MetroConfig}
 */
module.exports = mergeConfig(getDefaultConfig(__dirname), { /* overrides */ });

@vercel
Copy link

vercel bot commented Jan 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
rock Ready Ready Preview, Comment Jan 20, 2026 7:33pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants