mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 10:58:28 +02:00
✨ Improvements on image building.
This commit is contained in:
parent
4903d26038
commit
f4157ba0e5
3 changed files with 66 additions and 33 deletions
|
@ -201,9 +201,3 @@ gulp.task("dist:copy", function() {
|
|||
return gulp.src(paths.output + "**/*")
|
||||
.pipe(gulp.dest(paths.dist));
|
||||
});
|
||||
|
||||
gulp.task("dist:gzip", function() {
|
||||
return gulp.src(`${paths.dist}**/!(*.gz|*.br|*.jpg|*.png)`)
|
||||
.pipe(gulpGzip({gzipOptions: {level: 9}}))
|
||||
.pipe(gulp.dest(paths.dist));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue