emit-gzip

Emits static gzip files.

Plugin that generates gzip files for each output file.

EmitGzip.prototype.sources(file, context, conf)

For each file compress the file content using the zlib module and add a new file to the pipeline with a .gz file extension.

Before this plugin is executed files must have been assigned a content buffer.

Files marked as transient are ignored.

If the gzip context option is not set this function call is a noop.