uglify-js - npm
UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit
terser - npm
A JavaScript parser and mangler/compressor toolkit for ES6+.
uglify-es is no longer maintained and uglify-js does not support ES6+.
terser is a fork of uglify-es that mostly retains API and CLI compatibility with uglify-es and uglify-js@3.
Uglify vs. Babel-minify vs. Terser: A mini battle royale - LogRocket Blog
Webpack: Bundle your frontend apps smartly!
Webpack: Minifying your bundle for production use
rollup - npm
prettier - npm
Webpack: Bundle your frontend apps smartly!
Webpack: Minifying your bundle for production use
rollup - npm
prettier - npm