Type Alias: CompressOptions
Documentation / @wtf/project-vite / CompressOptions
type CompressOptions = object;Defined in: packages/project-vite/src/config.ts:73
How a site’s build writes its copies, by compress.
Properties
encodings?
readonly optional encodings?: readonly ("br" | "gz")[];Defined in: packages/project-vite/src/config.ts:79
The copies it writes: br and gz, both, by default.
extensions?
readonly optional extensions?: readonly string[];Defined in: packages/project-vite/src/config.ts:77
The extensions of the files it compresses: COMPRESSIBLE by default.
threshold?
readonly optional threshold?: number;Defined in: packages/project-vite/src/config.ts:75
The least a file is, in bytes, to be compressed: THRESHOLD by default.
