{"library":"metro-bundler-cli","title":"Metro Bundler CLI","description":"A CLI tool extending the official Metro bundler to enable bundle splitting for React Native applications. Version 1.0.7 uses hash-based module IDs (content + path) for stability across projects, unlike the official incremental IDs or module-name-based approaches. It supports generating base and business bundles to optimize loading times. Stable module IDs are optional (use-stable-id flag). The tool is primarily for advanced React Native developers needing code splitting beyond Metro's defaults. No regular release cadence; appears maintained but not actively updated.","language":"javascript","status":"maintenance","last_verified":"Sat Apr 25","install":{"commands":["npm install metro-bundler-cli"],"cli":{"name":"metro-bundler-cli","version":null}},"imports":["import metroBundlerCli from 'metro-bundler-cli'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npx metro-bundler bundle --entry-file index.js --bundle-output dist/business.jsbundle --assets-dest dist --platform ios --dev false --use-stable-id true --manifest-output dist/business.manifest.json --exclude dist/base.manifest.json","lang":"javascript","description":"Shows how to generate a business bundle excluding a base bundle manifest, using stable IDs.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}