tasks/guibundles.js
function uglify(prettyfile, sourcecode) {
		console.warn(
			'Not quite getting the right path to source in the map :/'
		);
		return ugli.minify(sourcecode || prettyfile, {
			fromString: sourcecode !== undefined,
			outSourceMap: path.basename(prettyfile) + '.map',
			compress: {
				warnings: false
			}
		});
	}
function uglify(prettyfile, sourcecode) {
		console.warn(
			'Not quite getting the right path to source in the map :/'
		);
		return ugli.minify(sourcecode || prettyfile, {
			fromString: sourcecode !== undefined,
			outSourceMap: path.basename(prettyfile) + '.map',
			compress: {
				warnings: false
			}
		});
	}
function uglify ( prettyfile , sourcecode ) { console . warn ( 'Not quite getting the right path to source in the map :/' ) ; return ugli . minify ( sourcecode || prettyfile , { fromString : sourcecode !== undefined , outSourceMap : path . basename ( prettyfile ) + '.map' , compress : { warnings : false } } ) ; }
Uglify file or sourcecode string.
@param {string} prettyfile
@param @optional {string} sourcecode
Uglify file or sourcecode string .