Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > IOperationSettings > dependsOnAdditionalFiles

IOperationSettings.dependsOnAdditionalFiles property

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

An optional list of glob (minimatch) patterns pointing to files that can affect this operation. The hash values of the contents of these files will become part of the final hash when reading and writing the build cache.

Note: if a particular file will be matched by patterns provided by both incrementalBuildIgnoredGlobs and dependsOnAdditionalFiles options - dependsOnAdditionalFiles will win and the file will be included calculating final hash value when reading and writing the build cache

Signature:

dependsOnAdditionalFiles?: string[];