From e67dc39bf6cbbccc87b3dc7aa5a1fd3da156a2fa Mon Sep 17 00:00:00 2001 From: Chris3773 <22506071+Chris3773@users.noreply.github.com> Date: Tue, 16 Jul 2019 17:23:17 -0400 Subject: [PATCH] [compression-webpack-plugin]: Add 'brotliCompress' to the list of supported algorithms (#36840) * Add 'brotliCompress' to the list of supported algorithms. * Update version to 2.0.1. * Remove patch version. * Reset the version back down to 2.0. --- types/compression-webpack-plugin/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/compression-webpack-plugin/index.d.ts b/types/compression-webpack-plugin/index.d.ts index 5d72f1fca8..2c1b67ddff 100644 --- a/types/compression-webpack-plugin/index.d.ts +++ b/types/compression-webpack-plugin/index.d.ts @@ -19,7 +19,7 @@ declare namespace CompressionPlugin { type Algorithm = (source: string, options: O, callback: AlgorithmCallback) => void; // NOTE: These are the async compression algorithms on the zlib object. - type ZlibAlgorithm = 'deflate' | 'deflateRaw' | 'gzip'; + type ZlibAlgorithm = 'deflate' | 'deflateRaw' | 'gzip' | 'brotliCompress'; type Pattern = string | RegExp | ReadonlyArray | ReadonlyArray; interface BaseOptions {