You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
var rfile = require('rfile');
|
|
var minify = require('uglify-js').minify;
|
|
|
|
module.exports = ruglify;
|
|
function ruglify(path, options) {
|
|
options = options || {};
|
|
options.exclude = [__filename];
|
|
return minify(rfile.resolve(path, options), options).code;
|
|
} |