Skip to content

Commit

Permalink
Fix: Issues with node-zopfli
Browse files Browse the repository at this point in the history
Change dependency to `gulp-zopfli-node` so pre-compiled binaries are
downloaded.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Fix webhintio#448
  • Loading branch information
molant committed Dec 7, 2018
1 parent 08dfb01 commit 19c7923
Show file tree
Hide file tree
Showing 4 changed files with 2,998 additions and 3,090 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@

sudo: required

addons:
apt:
packages:
- libsecret-1-dev
- libstdc++6-dev

env:
global:

Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ ${lostContent}`;

gulp.task('compress:zopfli', () => {
return gulp.src([dirs.distCompreseable])
.pipe(plugins.zopfli())
.pipe(plugins.zopfliNode())
.pipe(gulp.dest(dirs.dist));
});

Expand Down
Loading

0 comments on commit 19c7923

Please sign in to comment.