mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-14 13:47:11 +03:00
When using sass, the bootstrap-sass dependancy path should be specified in
the loadpath and not hardcoded in the import statement
This commit is contained in:
parent
9fa2cde8d4
commit
1e6c6cbace
|
@ -6,7 +6,7 @@ module.exports = function (grunt) {
|
|||
var path = require('path');
|
||||
var configBridge = grunt.file.readJSON('./grunt/configBridge.json', {encoding: 'utf8'});
|
||||
var generateIconsData = require('./grunt/bmd-icons-data-generator.js');
|
||||
|
||||
|
||||
Object.keys(configBridge.paths).forEach(function (key) {
|
||||
configBridge.paths[key].forEach(function (val, i, arr) {
|
||||
arr[i] = path.join('./docs/assets', val);
|
||||
|
@ -228,6 +228,9 @@ module.exports = function (grunt) {
|
|||
// Test compile sass
|
||||
sass: {
|
||||
compile: {
|
||||
options:{
|
||||
loadPath: "bower_components/bootstrap-sass/assets/stylesheets",
|
||||
},
|
||||
files: [{
|
||||
expand: true,
|
||||
cwd: "sass",
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
@import "../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables";
|
||||
@import "bootstrap/variables";
|
||||
//@import "../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins";
|
||||
|
|
Loading…
Reference in New Issue
Block a user