Skip to content

Commit 1d61b82

Browse files
docs: resolve todo (#182)
1 parent f3d9450 commit 1d61b82

File tree

6 files changed

+1336
-110
lines changed

6 files changed

+1336
-110
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ Default: `gzip`
116116

117117
The compression algorithm/function.
118118

119+
> ℹ️ If you use custom function for the `algorithm` option, the default value of the `compressionOptions` option is `{}`.
120+
119121
#### `String`
120122

121123
The algorithm is taken from [zlib](https://nodejs.org/api/zlib.html).
@@ -157,10 +159,10 @@ Default: `{ level: 9 }`
157159

158160
Compression options for `algorithm`.
159161

160-
If you use custom function for the `algorithm` option, the default value is `{}`.
161-
162162
You can find all options here [zlib](https://nodejs.org/api/zlib.html#zlib_class_options).
163163

164+
> ℹ️ If you use custom function for the `algorithm` option, the default value is `{}`.
165+
164166
**webpack.config.js**
165167

166168
```js

0 commit comments

Comments
 (0)