code: function minify(options){
  	var UglifyJS = require("uglify-js");
  
  	//var result = UglifyJS.minify(code, opts)
  
  	return through.obj(function(data, enc, next){
  		var bundle = data.bundles[0];
  		var source = bundle.source;
  
  		var opts = { fromString: true };
  		if(source.map) {
  			var inMap = source.map.toJSON();
  			var file = inMap.sources && inMap.sources[0];
  			opts.inSourceMap = inMap;
  			opts.outSourceMap = file;
  
  			if(options.sourceMapsContent) {
  				opts.sourceMapIncludeSources = true;
  			}
  		}
  
  		try {
  			var result = UglifyJS.minify(source.code, opts);
  			result.code = removeSourceMapUrl(result.code);
  
  			bundle.source = result;
  			next(null, data);
  		} catch(err) {
  			next(err);
  		}
  
  	});
  }
docs: TODO this should be a separate package