A minifier plugin for Metro (the JavaScript bundler for React Native) that uses UglifyJS for minification. Current stable version is 0.76.8, released as part of the Metro v0.76 release line. This package is specific to Metro and not useful standalone; it integrates directly with Metro's build pipeline. Alternative minifiers include metro-minify-terser (based on Terser). Release cadence follows Metro releases, approximately bi-weekly.
npm install metro-minify-uglifyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures Metro to use UglifyJS minifier via metro-minify-uglify package with custom compression options.
Used only in metro.config.js under transformer.minifierPath.
Replace 'metro-minify-uglify' with 'metro-minify-terser' in metro.config.js.
Refer to UglifyJS documentation for available options.
Run 'npm install metro-minify-uglify --save-dev' or 'yarn add metro-minify-uglify --dev'.
Set transformer.minifierPath to the package name string, not the imported module.
No dependency data recorded yet.