Skip to main content

HasherConfig

Configures aspects of the content hashing engine.

Index

Properties

optionalbatchSize

batchSize?: number = ```ts 2500 ```

The number of files to include in each hash operation.

ignoreMissingPatterns

ignoreMissingPatterns: string[]

When warnOnMissingInputs is enabled, filters missing file paths from logging a warning.

ignorePatterns

ignorePatterns: string[]

Filters file paths that match a configured glob pattern when a hash is being generated. Patterns are workspace relative, so prefixing with ** is recommended.

optimization

The optimization to use when hashing.

walkStrategy

The strategy to use when walking the file system.

optionalwarnOnMissingInputs

warnOnMissingInputs?: boolean = ```ts true ```

Logs a warning when a task has configured an explicit file path input, and that file does not exist when hashing.