Skip to content

Allow multiple file outputs one for each algorithm #127

@crhistianramirez

Description

@crhistianramirez
  • Operating System: Windows / Mac / Linux
  • Node Version: 8.9.0
  • NPM Version: 6.9.0
  • webpack Version: 4.3.0
  • compression-webpack-plugin Version: 3.0.0

Feature Proposal

Allow plugin to generate multiple file outputs for multiple algorithms. Maybe algorithms can take an optional array format to indicate more than one file (per algorithm) should be generated.

Feature Use Case

Since this plugin now supports brotli algorithm it would be nice to be able to output both gzip and brotli so that my server can serve up the appropriate file to the client based on the accept headers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions