From f1eb8a7d8dd4bcdfee956115dff998632ddd1ab9 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 8 Jul 2017 08:05:49 -0400 Subject: [PATCH] Include CSS files in minification (#23) Include CSS files in minification --- gulp/copy.js | 2 +- gulp/less.js | 6 ++++-- src/UI/index.html | 4 ++-- 3 files changed, 7 insertions(+), 5 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 e250a79eb..c91ebd538 100644 --- a/gulp/less.js +++ b/gulp/less.js @@ -16,10 +16,12 @@ gulp.task('less', function() { paths.src.content + 'bootstrap.less', paths.src.content + 'theme.less', paths.src.content + 'overrides.less', - //paths.src.root + 'Series/series.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 + 'Artist/artist.less', paths.src.root + 'Activity/activity.less', - //paths.src.root + 'AddSeries/addSeries.less', paths.src.root + 'AddArtist/addArtist.less', paths.src.root + 'Calendar/calendar.less', paths.src.root + 'Cells/cells.less', diff --git a/src/UI/index.html b/src/UI/index.html index ee0b62d27..a4ab8c22f 100644 --- a/src/UI/index.html +++ b/src/UI/index.html @@ -15,8 +15,8 @@ - - + +