You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
Its working fine, but I would like to plug it into the watch/compile process run with 'npm start' so that when the style.css gets automatically compiled, it gets automatically zipped as well.
Any direction on how I can go about doing this? This is my current npm start: "start": "gulp compile && gulp theme && gulp zip", zip is not working on style change
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is more a question and not an issue—wasn't sure where to post.
I've created a gulp task that will gzip the style.css which immediately gains 4-5 points in Google Page speed:
gulp.task('compress', function() {
gulp.src('./dist/*.css')
.pipe(gzip())
.pipe(gulp.dest('./dist'));
});
gulp.task('zip', ['css', 'compress']);
Its working fine, but I would like to plug it into the watch/compile process run with 'npm start' so that when the style.css gets automatically compiled, it gets automatically zipped as well.
Any direction on how I can go about doing this? This is my current npm start: "start": "gulp compile && gulp theme && gulp zip", zip is not working on style change
The text was updated successfully, but these errors were encountered: