packages/jimp/tools/browser-build.js
function minify(code) {
  console.error('Compressing...');

  return UglifyJS.minify(code, { warnings: false }).code;
}
function minify(code) {
  console.error('Compressing...');

  return UglifyJS.minify(code, { warnings: false }).code;
}
function minify ( code ) { console . error ( 'Compressing...' ) ; return UglifyJS . minify ( code , { warnings : false } ) . code ; }
Browserify and Babelize.
Browserify and Babelize .