mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
1e5ce1e1a9
This reverts commit 2916ac43ed57baacc49d2cc7550b8d1dfe87b261. This reverts commit 3d635f30795deb11ee7feaea5595b78c70221389. This reverts commit 61a21205575aa03b4fbbacee2052d20bf75941d4. This change broke the Grunt build.
27 lines
665 B
JavaScript
27 lines
665 B
JavaScript
// 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: {
|
|
'dist/css/<%= pkg.name %>.css': 'scss/<%= pkg.name %>.scss'
|
|
}
|
|
},
|
|
docs: {
|
|
files: {
|
|
'docs/assets/css/docs.min.css': 'docs/assets/scss/docs.scss'
|
|
}
|
|
}
|
|
}
|
|
});
|
|
grunt.loadNpmTasks('grunt-sass');
|
|
};
|