Just started to use browserify, but I cannot find documentation for how to get it spilling out minified output.
So I am looking something like:
$>
I like terser which has support for ES6+ and some good comporession as well.
browserify main.js | terser --compress --mangle > bundle.js
Install globallly:
npm i -g terser