Releases: ralscha/parcel-plugin-compress
v2.0.1
Introduce new option compressOutput: true | false
A flag that changes the behavior of the plugin, by default this option is disabled
and the plugin compresses all the files it receives via the Parcel bundle object and match
the test
regular expression.
If true the plugin compresses all files in the output directory and subdirectories
that match the test
regular expression
v2.0.0
Remove iltorb. Use instead built-in brotli support in zlib
Node.js added support for brotli in version 11.7.0. On older Node.js
installation this plugin falls back to the brotli package
Check your compress configuration options. The following options are no longer supported:
- "enable_dictionary"
- "enable_transforms"
- "greedy_block_split"
New you may set the following options. These are by default undefined
, and use the defaults of the underlying brotli compressor.
- "lgblock" // 16 - 24
- "nPostfix" // 0 - 3
- "nDirect" // 0 to (15 << nPostfix) in steps of (1 << nPostfix)