From c33d9727a0bbfe48d7f318d74a5b3fb92e194579 Mon Sep 17 00:00:00 2001 From: Mitchell Cash Date: Tue, 13 Jun 2017 16:39:42 +1000 Subject: [PATCH] Added: Include css files in minification (#1672) --- 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 e86f12f6c..eb836fdd4 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 72c1626a7..2969389d4 100644 --- a/src/UI/index.html +++ b/src/UI/index.html @@ -10,8 +10,8 @@ - - + +