From: XhmikosR Date: Tue, 24 Jun 2014 15:57:33 +0000 (+0300) Subject: Turn off clean-css' advanced optimizations. X-Git-Tag: v3.2.0~7^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25ca51319b016bc4e42e1ba882d6f191e001d65d;p=thirdparty%2Fbootstrap.git Turn off clean-css' advanced optimizations. Works around #13914. We might give it another go in the future but the stuff this breaks over the time does not justify having it enabled. The gain in size is negligible: dist/css/bootstrap.min.css: 108.65 kB → 109.5 kB dist/css/bootstrap-theme.min.css: 18.84 kB → 18.86 kB docs/assets/css/docs.min.css: 20.44 kB → 20.61 kB --- diff --git a/Gruntfile.js b/Gruntfile.js index 66ee6975c0..d1e94869f9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -232,7 +232,8 @@ module.exports = function (grunt) { cssmin: { options: { compatibility: 'ie8', - keepSpecialComments: '*' + keepSpecialComments: '*', + noAdvanced: true }, core: { files: {