lib/build.js
function (next) {

									minify(
										outputJsFile,
										_.extend({optimize: true},uglifyOptions),
										function(err){
											if ( err ){
												return next(err);
											}

											if ( isForPublish ){
												publisher(
													outputJsFile,
													function (err) {
														return next(err);
													},
													options.forceminified
												);
											}else {
												return next();
											}

										}
									);

								}
function (next) {

									minify(
										outputJsFile,
										_.extend({optimize: true},uglifyOptions),
										function(err){
											if ( err ){
												return next(err);
											}

											if ( isForPublish ){
												publisher(
													outputJsFile,
													function (err) {
														return next(err);
													},
													options.forceminified
												);
											}else {
												return next();
											}

										}
									);

								}
function ( next ) { minify ( outputJsFile , _ . extend ( { optimize : true } , uglifyOptions ) , function ( err ) { if ( err ) { return next ( err ) ; } if ( isForPublish ) { publisher ( outputJsFile , function ( err ) { return next ( err ) ; } , options . forceminified ) ; } else { return next ( ) ; } } ) ; }
Minify bundle app
Minify bundle app