We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I do,
// Using UglifyJS for JS new compressor.minify({ type: 'uglifyjs', fileIn: 'public/js/base.js', fileOut: 'public/js/base-onefile-uglify.js', callback: function(err){ console.log(err); } });
It did not minify file. It was able to minimise when I replaced the command in node-minify with following. I have removed quotes around uglifyjs.
case 'uglifyjs': command = prefix + __dirname + '/../node_modules/uglify-js/bin/uglifyjs --output "' + this.fileOut + '" ' + (this.copyright ? '' : '--no-copyright') + ' "' + this.fileIn + '" ' + this.options.join(' ');
The text was updated successfully, but these errors were encountered:
Can you check with 0.8.1 newest version ?
Sorry, something went wrong.
No branches or pull requests
When I do,
// Using UglifyJS for JS
new compressor.minify({
type: 'uglifyjs',
fileIn: 'public/js/base.js',
fileOut: 'public/js/base-onefile-uglify.js',
callback: function(err){
console.log(err);
}
});
It did not minify file. It was able to minimise when I replaced the command in node-minify with following. I have removed quotes around uglifyjs.
The text was updated successfully, but these errors were encountered: