Created
May 12, 2013 00:18
-
-
Save toolmantim/5561900 to your computer and use it in GitHub Desktop.
If you're using SASS, Grunt and Bower you may wonder "How do I @import the CSS file from a bower component I just installed?" Well I'm afraid you're asking the wrong question—@import is really only designed to import SCSS files (for now). But there is hope! grunt-contrib-sass also supports concatenation, and to use it simply include the CSS file…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
grunt.initConfig({ | |
// ... | |
sass: { | |
styles: { | |
files: { | |
'sass/styles.css': [ | |
'components/normalize-css/normalize.css', | |
'sass/styles.scss' | |
] | |
} | |
} | |
}, | |
// ... | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment