A CLI tool that extends the official React Native Metro bundler to support stable module IDs and bundle splitting. Version 1.0.7 provides hash-based module IDs (content + path) for more stable splits compared to incremental IDs or project-name-based approaches. Enables splitting into base and business bundles to reduce download/load times. Last release date unknown; appears to be in maintenance mode. Key differentiators: uses content hash for module IDs, avoids reliance on project name, and provides manifest-output and exclude options for split bundling.
npm install rn-bundlerNo compatibility data collected yet for this library.
Shows how to bundle a React Native project with stable module IDs using the metro-bundler-cli CLI tool.
Add --use-stable-id true to your bundle command.
Ensure react-native (which includes metro) is installed as a devDependency.
Consider migrating to a maintained bundler solution.
Install react-native or metro manually: npm install --save-dev metro
Ensure you are using the global installed metro-bundler-cli (not metro directly).