Options
All
  • Public
  • Public/Protected
  • All
Menu

Options affecting how file system snapshots are created and validated.

Hierarchy

  • SnapshotOptionsWebpackOptions

Index

Properties

buildDependencies?: { hash?: boolean; timestamp?: boolean }

Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.

Type declaration

  • Optional hash?: boolean

    Use hashes of the content of the files/directories to determine invalidation.

  • Optional timestamp?: boolean

    Use timestamps of the files/directories to determine invalidation.

immutablePaths?: (string | RegExp)[]

List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.

managedPaths?: (string | RegExp)[]

List of paths that are managed by a package manager and can be trusted to not be modified otherwise.

module?: { hash?: boolean; timestamp?: boolean }

Options for snapshotting dependencies of modules to determine if they need to be built again.

Type declaration

  • Optional hash?: boolean

    Use hashes of the content of the files/directories to determine invalidation.

  • Optional timestamp?: boolean

    Use timestamps of the files/directories to determine invalidation.

resolve?: { hash?: boolean; timestamp?: boolean }

Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.

Type declaration

  • Optional hash?: boolean

    Use hashes of the content of the files/directories to determine invalidation.

  • Optional timestamp?: boolean

    Use timestamps of the files/directories to determine invalidation.

resolveBuildDependencies?: { hash?: boolean; timestamp?: boolean }

Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.

Type declaration

  • Optional hash?: boolean

    Use hashes of the content of the files/directories to determine invalidation.

  • Optional timestamp?: boolean

    Use timestamps of the files/directories to determine invalidation.