Type Alias: DirectoryFilterOpts
DirectoryFilterOpts =
object
Properties
exclude?
optionalexclude?:string[]
If set, paths matching one of these glob patterns is excluded from the new snapshot. Example: ["node_modules/", ".git*", ".env"]
gitignore?
optionalgitignore?:boolean
If set, apply .gitignore rules when filtering the directory.
include?
optionalinclude?:string[]
If set, only paths matching one of these glob patterns is included in the new snapshot. Example: (e.g., ["app/", "package.*"]).