Browse Source

Use the maximum compression for gzip. A byte is a byte :)

Eric Chauvet 4 years ago
parent
commit
2b3f1de394
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/gulpfile.js

+ 1
- 1
code/gulpfile.js View File

@ -167,7 +167,7 @@ var buildWebUI = function(module) {
minifyJS: true minifyJS: true
})). })).
pipe(replace('pure-', 'p-')). pipe(replace('pure-', 'p-')).
pipe(gzip()).
pipe(gzip({ gzipOptions: { level: 9 } })).
pipe(rename('index.' + module + '.html.gz')). pipe(rename('index.' + module + '.html.gz')).
pipe(gulp.dest(dataFolder)). pipe(gulp.dest(dataFolder)).
pipe(toHeader('webui_image', true)). pipe(toHeader('webui_image', true)).


Loading…
Cancel
Save