跳到正文

Interface: ReportOptions

Defined in: src/features/report.ts:29

Properties

brotli?

ts
optional brotli: boolean;

Defined in: src/features/report.ts:44

Enable/disable brotli-compressed size reporting. Compressing large output files can be slow, so disabling this may increase build performance for large projects.

Default

ts
false

gzip?

ts
optional gzip: boolean;

Defined in: src/features/report.ts:36

Enable/disable gzip-compressed size reporting. Compressing large output files can be slow, so disabling this may increase build performance for large projects.

Default

ts
true

maxCompressSize?

ts
optional maxCompressSize: number;

Defined in: src/features/report.ts:50

Skip reporting compressed size for files larger than this size.

Default

ts
1_000_000 // 1MB

Released under the MIT License.