Browse Source

Merge pull request #396 from twbs/grunt-patch

Adjusting advanced optimizations in grunt file
pull/398/head
XhmikosR 11 years ago
parent
commit
07a70080bf
  1. 4
      Gruntfile.js
  2. 2
      dist/ratchet.min.css
  3. 2
      docs/dist/ratchet.min.css

4
Gruntfile.js

@ -83,6 +83,7 @@ module.exports = function(grunt) {
options: { options: {
banner: '', // set to empty; see bellow banner: '', // set to empty; see bellow
keepSpecialComments: '*', // set to '*' because we already add the banner in sass keepSpecialComments: '*', // set to '*' because we already add the banner in sass
noAdvanced: true, // disable advanced optimizations since it causes many issues
report: 'min' report: 'min'
}, },
ratchet: { ratchet: {
@ -90,9 +91,6 @@ module.exports = function(grunt) {
dest: '<%= meta.distPath %><%= pkg.name %>.min.css' dest: '<%= meta.distPath %><%= pkg.name %>.min.css'
}, },
docs: { docs: {
options: {
noAdvanced: true // disable advanced optimizations since it causes code highlighting not to work
},
src: [ src: [
'<%= meta.docsAssetsPath %>css/docs.css', '<%= meta.docsAssetsPath %>css/docs.css',
'<%= meta.docsAssetsPath %>css/pygments-manni.css' '<%= meta.docsAssetsPath %>css/pygments-manni.css'

2
dist/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

2
docs/dist/ratchet.min.css vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save