From 410aa467b8b42b4887ffbf3ea0d6b58e0f438f94 Mon Sep 17 00:00:00 2001 From: Drew Freyling Date: Sat, 29 Apr 2017 10:47:13 +1000 Subject: [PATCH] include css files in minification --- gulp/copy.js | 2 +- gulp/less.js | 4 ++++ src/UI/index.html | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gulp/copy.js b/gulp/copy.js index ab380855d..9962defef 100644 --- a/gulp/copy.js +++ b/gulp/copy.js @@ -25,7 +25,7 @@ gulp.task('copyHtml', function () { }); gulp.task('copyContent', function () { - return gulp.src([paths.src.content + '**/*.*', '!**/*.less']) + return gulp.src([paths.src.content + '**/*.*', '!**/*.less', '!**/*.css']) .pipe(gulp.dest(paths.dest.content)) .pipe(livereload()); }); diff --git a/gulp/less.js b/gulp/less.js index 1721af30f..46ea2f310 100644 --- a/gulp/less.js +++ b/gulp/less.js @@ -16,6 +16,10 @@ gulp.task('less', function() { paths.src.content + 'bootstrap.less', paths.src.content + 'theme.less', paths.src.content + 'overrides.less', + paths.src.content + 'bootstrap.toggle-switch.css', + paths.src.content + 'fullcalendar.css', + paths.src.content + 'Messenger/messenger.css', + paths.src.content + 'Messenger/messenger.flat.css', paths.src.root + 'Series/series.less', paths.src.root + 'Activity/activity.less', paths.src.root + 'AddSeries/addSeries.less', diff --git a/src/UI/index.html b/src/UI/index.html index 57ed790bb..40303b171 100644 --- a/src/UI/index.html +++ b/src/UI/index.html @@ -15,8 +15,8 @@ - - + +