This will result in more modern JS dist files, and saves us a good amount of bytes. This was the plan in #30986, but I gave up after the Safari 10 failures back then.
Apart from terser which we use, I tested the latest uglify-js and seems to work fine too.
Closes #31153 (closed).
/CC @alpadev @RyanBerliner @GeoSot @Johann-S @rohit2sharma95 @mdo
Preview: https://deploy-preview-33399--twbs-bootstrap.netlify.app/
TODO:
-
Adapt bundlewatch limits