Closed matutter closed 8 years ago
I want to pass arguments to uglify and I can't find a way to do it
var uglify_opts = { compress: { dead_code: true } } minify('file.js', uglify_opts, (e, data) => { //... do stuff })
And I'm looking through the source, i don't think they even get passed?
Actually they get passed. Feel free to make pull request with ability of passing arguments because there is no way to do it right now :).
Closed due to long time of inactivity.
I want to pass arguments to uglify and I can't find a way to do it
And I'm looking through the source, i don't think they even get passed?