I would like to use Bootstrap's CDN rather than my local copy. I still have local less files that need to be compiled to CSS though. The issue I'm running into is that some of the variables defined locally were part of Bootstrap so when gulp-less runs it throws an error and halts the process entirely.
Here is the error I'm getting:
Potentially unhandled rejection [2] variable @table-header-height is undefined in file /blahblahblah
Here is my set-up:
gulp.task('styles:crhistian',['clean:styles'], function(){
return gulp
.src([].concat(
config.src + '**/*.less',
config.components.styles.less
))
.pipe(less())
.pipe(gulp.dest('./crhistian'));
});
Ideally I'm aiming for this in my index.html file:
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
<link rel="stylesheet" href="localfiles.css">