This plugin can be used on: .js files and even on .coffee and .ts files after using the right plugin
Options : all options of the uglify-js package
Sample usage:
malta app/source/index.js public/js -plugins=malta-js-uglify
or in the .json file :
"app/source/index.js" : "public/js -plugins=malta-js-uglify",
"app/source/main.ts" : "public/js -plugins=malta-typescript...malta-js-uglify"
or in a script :
var Malta = ;Maltastart {var s = this;consoleconsole;'plugin' in o && console;console;};