aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorCamil Staps2015-05-17 00:41:44 +0200
committerCamil Staps2015-05-17 00:41:44 +0200
commit07bc5d3fc9490961c958710daf110bf49c4fe4fe (patch)
tree7e3f6b332a7182d9760f2295cbcd8d751dc0592d /gulpfile.js
parentFixed bower version (diff)
Fixed gulpfile bug where // in a URL was turned into http:// automatically by the clean-css minifier
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 6817c03..b22b542 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -92,7 +92,7 @@ gulp.task('3rd-party-styles', function() {
return gulp.src(fileList)
.pipe(changed(dst, {extension: '.css', destination: function(file){
if (isBootswatchFile(file)) {
- return 'bootswatch.css';
+ return bootswatch_dst;
} else {
return file;
}
@@ -111,10 +111,10 @@ gulp.task('3rd-party-styles', function() {
// http://stackoverflow.com/questions/21719833/gulp-how-to-add-src-files-in-the-middle-of-a-pipe
// https://github.com/gulpjs/gulp/blob/master/docs/recipes/using-multiple-sources-in-one-task.md
- return merge(stream, gulp.src(['./build/assets/css/font-awesome.css', './build/assets/css/main.css']))
- .pipe(concat('bootswatch.css'))
+ return merge(stream, gulp.src(['./build/assets/css/font-awesome.css']))
+ .pipe(concat(bootswatch_dst))
})))
- .pipe(minifycss())
+ .pipe(minifycss({processImport: false}))
.pipe(gulp.dest(dst));
});