2014-12-15 19:18:27 +01:00
|
|
|
// Compile Bootstrap with [libsass][1] using [grunt-sass][2]
|
|
|
|
// [1]: https://github.com/sass/libsass
|
|
|
|
// [2]: https://github.com/sindresorhus/grunt-sass
|
|
|
|
module.exports = function configureLibsass(grunt) {
|
|
|
|
grunt.config.merge({
|
|
|
|
sass: {
|
|
|
|
options: {
|
|
|
|
includePaths: ['scss'],
|
|
|
|
precision: 6,
|
|
|
|
sourceComments: false,
|
|
|
|
sourceMap: true
|
|
|
|
},
|
|
|
|
core: {
|
|
|
|
files: {
|
2015-01-18 23:53:06 +01:00
|
|
|
'dist/css/<%= pkg.name %>.css': 'scss/<%= pkg.name %>.scss'
|
2014-12-15 19:18:27 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
docs: {
|
|
|
|
files: {
|
|
|
|
'docs/assets/css/docs.min.css': 'docs/assets/scss/docs.scss'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
grunt.loadNpmTasks('grunt-sass');
|
|
|
|
};
|