Broccoli plugin to gzip files.
npm install broccoli-gzip
``bash`
yarn add broccoli-gzip
`javascript
const Gzip = require('broccoli-gzip');
let tree = new Gzip('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.
---
options.appendSuffix {Boolean} (Optional, default true)
Whether to append the .gz suffix.
`bash``
yarn test
This project is distributed under the MIT license.