From c158027179248b3c8d9e08f9c748d3f1b8dff3fb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 4 Dec 2015 16:17:46 +0100 Subject: [PATCH] Add include paths for bootstrap sass and avoid to import an entire path in the sass file --- Gruntfile.js | 3 +++ public/stylesheets/index.scss | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 028a7773d..51ac10161 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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 diff --git a/public/stylesheets/index.scss b/public/stylesheets/index.scss index 5dbb5e85a..16f2ae88f 100644 --- a/public/stylesheets/index.scss +++ b/public/stylesheets/index.scss @@ -1,6 +1,6 @@ $icon-font-path: "/stylesheets/vendor/fonts/bootstrap/"; -@import "../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap"; +@import "_bootstrap"; body { padding: 20px;