fe0b7b6ff46df842851eb1ae8a056f5ed921af78.svn-base 996 B

12345678910111213141516171819202122232425262728293031323334
  1. // Compile Bootstrap with [libsass][1] using [grunt-sass][2]
  2. // [1]: https://github.com/sass/libsass
  3. // [2]: https://github.com/sindresorhus/grunt-sass
  4. module.exports = function configureLibsass(grunt) {
  5. grunt.config.merge({
  6. sass: {
  7. options: {
  8. includePaths: ['scss'],
  9. precision: 6,
  10. sourceComments: false,
  11. sourceMap: true,
  12. outputStyle: 'expanded'
  13. },
  14. core: {
  15. files: {
  16. 'dist/css/<%= pkg.name %>.css': 'scss/<%= pkg.name %>.scss'
  17. }
  18. },
  19. extras: {
  20. files: {
  21. 'dist/css/<%= pkg.name %>-flex.css': 'scss/<%= pkg.name %>-flex.scss',
  22. 'dist/css/<%= pkg.name %>-grid.css': 'scss/<%= pkg.name %>-grid.scss',
  23. 'dist/css/<%= pkg.name %>-reboot.css': 'scss/<%= pkg.name %>-reboot.scss'
  24. }
  25. },
  26. docs: {
  27. files: {
  28. 'docs/assets/css/docs.min.css': 'docs/assets/scss/docs.scss'
  29. }
  30. }
  31. }
  32. });
  33. grunt.loadNpmTasks('grunt-sass');
  34. };