[Solved] Is it possible to minify/uglify default.js and default.css?

In production (when starting plone using bin/instance start), JS and CSS bundles are concatenated into default.js and default.css, but there's a lot of content that is not minified. Would it be possible to automatically (or manually) minify them (after the final concatenations)?

Edit: for example, require.js is not minified (also when inserted into default.js); is it intentional?

No idea why it is this way, but if you enable compressed transport (usually gzip) in your webserver, minification does not matter much transport wise.

It's happening here:


Resources are concatenated. Some minifying methods could be included.

Plone Foundation Code of Conduct