mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-12 06:53:24 +00:00
Include CSS files in minification (#23)
Include CSS files in minification
This commit is contained in:
parent
8a68e87128
commit
f1eb8a7d8d
3 changed files with 7 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue