]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Turn off clean-css' advanced optimizations.
authorXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 24 Jun 2014 15:57:33 +0000 (18:57 +0300)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 24 Jun 2014 16:01:40 +0000 (19:01 +0300)
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

Gruntfile.js

index 66ee6975c08a9852d59d9c3183f17e4394a2a0fe..d1e94869f905f9ef71809d1a73c064348bd2c64c 100644 (file)
@@ -232,7 +232,8 @@ module.exports = function (grunt) {
     cssmin: {
       options: {
         compatibility: 'ie8',
-        keepSpecialComments: '*'
+        keepSpecialComments: '*',
+        noAdvanced: true
       },
       core: {
         files: {