I am running a magento 2.2.5 CE in production mode with two storefronts setup.
The settings in admin are as follows:
Minify Html: Yes
Merge JavaScript Files: Yes
- Enable JavaScript Bundling: Yes
Minify JavaScript Files: Yes
Merge CSS Files: Yes
- Minify CSS Files: Yes
Nothing is being minified, not the CSS, JS or HTML. The JS and CSS are atleast bundled into a single merged file, but with no minification.
All caches have been cleared and static files deployed probably a 1000 times since we've set the minification to true.
I've tried setting everything VIA CLI also and we are running in production so everything should be minified, but is not.
Please let me know if there's anything else I can try to get the default magento 2 minification to work.