Skip to content
Expansion plugin for compression via gzip
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Expansive plugin for gzip.

Provides the 'compress' service.

To install:

pak install exp-gzip

To configure in expansive.json:

  • gzip.enable — Enable compressing all files using gzip.
  • gzip.mappings — File extensions to compress. Defaults to: [ 'html', 'css', 'js', 'ttf', 'xml' ].
  • gzip.keep — Keep uncompressed file after compressing. Defaults to true.
    services: {
        compress: {
            enable: true,
            mappings:  [ 'html', 'css', 'js', 'ttf', 'xml' ],
            keep:   false

Get Pak from

You can’t perform that action at this time.