Include CSS files in minification (#23)

Include CSS files in minification
pull/31/head
Qstick 8 years ago committed by Joseph Milazzo
parent 8a68e87128
commit f1eb8a7d8d

@ -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());
});

@ -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',

@ -15,8 +15,8 @@
<link href="/Content/bootstrap.css" rel='stylesheet' type='text/css'/>
<link href="/Content/bootstrap.toggle-switch.css" rel='stylesheet' type='text/css'/>
<link href="/Content/Messenger/messenger.css" rel='stylesheet' type='text/css'/>
<link href="/Content/Messenger/messenger.flat.css" rel='stylesheet' type='text/css'/>
<link href="/Content/messenger.css" rel='stylesheet' type='text/css'/>
<link href="/Content/messenger.flat.css" rel='stylesheet' type='text/css'/>
<link href="/Content/fullcalendar.css" rel='stylesheet' type='text/css'>
<link href="/Content/theme.css" rel='stylesheet' type='text/css'/>
<link href="/Content/cells.css" rel='stylesheet' type='text/css'>

Loading…
Cancel
Save