From 978e54403c1d616913c96fd9109e149c3d85b1d6 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 24 Oct 2017 12:08:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Do=20not=20exclude=20`assets/css?= =?UTF-8?q?`=20from=20built=20zips?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- gulpfile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e7aac60..e889c26 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -59,8 +59,7 @@ gulp.task('zip', ['css'], function() { return gulp.src([ '**', '!node_modules', '!node_modules/**', - '!dist', '!dist/**', - '!assets/css', '!assets/css/**', + '!dist', '!dist/**' ]) .pipe(zip(filename)) .pipe(gulp.dest(targetDir));