Open kdocki opened 10 years ago
the best JS minifyer is https://developers.google.com/closure/compiler/ but you need java to use ist
If you use the official Twitter Bootstrap sass port (https://packagist.org/packages/twbs/bootstrap-sass ) it doesn't break -- at least I haven't noticed any issues with the components I use regularly. Perhaps that could be an alternative route for people experiencing problems. Where I have had bugs is with CSS libraries that use Opera vendor prefixes, specifically within CSS3 animation blocks.
As for an alternative, I have used https://github.com/canton7/fuelphp-casset/blob/master/classes/casset/csscompressor.php in the past, which is based on Steve Clay's https://code.google.com/p/minify/.
I'm not sure which is the more sophisticated solution, but Clay's certainly has fewer moving parts compared to https://github.com/nitra/PhpMin/blob/master/CssMin/CssMin.php
@kdocki I'm using the latest Bootstrap 3 (Less) with asset-pipeline and don't have any issues?
Known Issues
@tabennett is searching for a new minifier that might address these issues.