Closed CarlosOrozco88 closed 4 years ago
Thanks for your work! I think we could even replace uglify with terser, which would make both API and the plugin code less verbose. We also did that in the ui5-builder project a while ago and did not encounter any issues so far: https://github.com/SAP/ui5-builder/pull/305
Adds js compression with terser. By default all existing configurations will use uglifyjs.
https://github.com/terser/terser Why choose terser? 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