2.2.0
Replace uglify-es with terser as default minifier
uglify-es is no longer maintained and uglify-js does not support ES6+.
terser is a fork of uglify-es that retains API and CLI compatibility with uglify-es and uglify-js@3.
Hopefully this version should not break your build, but we do recommend to test before upgrading and submit any minification issues to https://github.com/terser-js/terser/issues.