mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-23 03:57:38 +00:00
🐛 Do not exclude assets/css
from built zips
no issue https://github.com/TryGhost/Casper/pull/403 added optimisations for reducing size of zip files but unfortunately it also stripped out `assets/css` which means that it's no longer possible to download the theme from the admin panel and use it for development. - remove `assets/css` from the ignored files in the `zip` task
This commit is contained in:
parent
73bd9c630e
commit
978e54403c
@ -59,8 +59,7 @@ gulp.task('zip', ['css'], function() {
|
|||||||
return gulp.src([
|
return gulp.src([
|
||||||
'**',
|
'**',
|
||||||
'!node_modules', '!node_modules/**',
|
'!node_modules', '!node_modules/**',
|
||||||
'!dist', '!dist/**',
|
'!dist', '!dist/**'
|
||||||
'!assets/css', '!assets/css/**',
|
|
||||||
])
|
])
|
||||||
.pipe(zip(filename))
|
.pipe(zip(filename))
|
||||||
.pipe(gulp.dest(targetDir));
|
.pipe(gulp.dest(targetDir));
|
||||||
|
Loading…
Reference in New Issue
Block a user