Skip to content

Interface: ReportOptions ​

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

Properties ​

brotli? ​

ts
optional brotli?: boolean;

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

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:37

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:51

Skip reporting compressed size for files larger than this size.

Default ​

ts
1_000_000 // 1 MB

summary? ​

ts
optional summary?: boolean;

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

Only report the total size, skipping the per-file breakdown. Useful for libraries that emit many files in unbundle mode.

Default ​

ts
false

Released under the MIT License.