Add include paths for bootstrap sass and avoid to import an entire path

in the sass file
pull/1/head
Chocobozzz 2015-12-04 16:17:46 +01:00
parent 0b69752270
commit c158027179
2 changed files with 4 additions and 1 deletions

View File

@ -70,6 +70,9 @@ module.exports = function (grunt) {
}
},
sass: {
options: {
includePaths: [ 'node_modules/bootstrap-sass/assets/stylesheets/' ]
},
dev: {
files: {
'public/stylesheets/global.css': paths.scss

View File

@ -1,6 +1,6 @@
$icon-font-path: "/stylesheets/vendor/fonts/bootstrap/";
@import "../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
@import "_bootstrap";
body {
padding: 20px;