Skip to content

Commit

Permalink
πŸ› Do not exclude assets/css from built zips
Browse files Browse the repository at this point in the history
no issue

#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
  • Loading branch information
kevinansfield committed Oct 24, 2017
1 parent 73bd9c6 commit 978e544
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 978e544

Please sign in to comment.