broccoli-gzip

Broccoli plugin to gzip files.

Broccoli Gzip Plugin

npm install -D broccoli-gzip
var gzipFiles = require('broccoli-gzip');
 
var tree = gzipFiles('app', {
  extensions: ['js', 'css']
});

options.extensions {Array} (Required)

The file extensions that should be compressed.


options.keepUncompressed {Boolean} (Optional, default false)

Whether the uncompressed versions of the files should be kept in the resulting tree.

npm install
npm test

This project is distributed under the MIT license.