You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`include`|`string \| RegExp \| Array<string \| RegExp>`|`/\.(html\|xml\|css\|json\|js\|mjs\|svg)$/`| Include all assets matching any of these conditions.|
39
-
|`exclude`|`string \| RegExp \| Array<string \| RegExp>`|`-`| Exclude all assets matching any of these conditions. |
40
-
|`threshold`|`number`|`0`| Only assets bigger than this size are processed (in bytes) |
41
-
|`algorithm`|`string\| function`|`gzip`| The compression algorithm |
42
-
|`compressionOptions`|`Record<string,any>`|`{}`| Compression options for `algorithm`(details see `zlib module`) |
43
-
|`deleteOriginalAssets`|`boolean`|`false`| Whether to delete the original assets or not |
44
-
|`skipIfLargerOrEqual`|`boolean`|`true`| Whether to skip the compression if the result is larger than or equal to the original file |
45
-
|`filename`|`string`|`[path][base].gz`| The target asset filename |
|`include`|`string \| RegExp \| Array<string \| RegExp>`|`/\.(html\|xml\|css\|json\|js\|mjs\|svg)$/`| Include all assets matching any of these conditions.|
37
+
|`exclude`|`string \| RegExp \| Array<string \| RegExp>`|`-`| Exclude all assets matching any of these conditions.|
38
+
|`threshold`|`number`|`0`| Only assets bigger than this size are processed (in bytes)|
39
+
|`algorithm`|`string\| function`|`gzip`| The compression algorithm|
40
+
|`compressionOptions`|`Record<string,any>`|`{}`| Compression options for `algorithm`(details see `zlib module`)|
41
+
|`deleteOriginalAssets`|`boolean`|`false`| Whether to delete the original assets or not|
42
+
|`skipIfLargerOrEqual`|`boolean`|`true`| Whether to skip the compression if the result is larger than or equal to the original file |
43
+
|`filename`|`string`|`[path][base].gz`| The target asset filename|
0 commit comments