Interface: CopyDirOptions
Properties
allowedSymlinkRoots?
optionalallowedSymlinkRoots?: readonlystring[] |null
Besides the containment root, the directories a copied symlink may lead into, such as the workspace root. A symlink that leads anywhere else fails the copy. A symlink is kept as it is, so one that leads into these roots points outside the output.
containmentRoot?
optionalcontainmentRoot?:string|null
Every file, directory and symlink is written inside this directory, checked by its real path when it is written
(see WriteContainment). Pass the output directory the copy is part of, such as the app output directory, rather than a
directory that copied files may have created. Defaults to destination.
externalLinks?
optionalexternalLinks?:ExternalLinkPolicy|null
The fileOptions.allowExternalLinks build option: a copied symlink that leads outside the containment root and the allowed roots is kept when it
allows it. It does not allow a write through a symlink.
filter?
optionalfilter?:Filter|null
isUseHardLink?
optionalisUseHardLink?: ((file) =>boolean) |null
transformer?
optionaltransformer?:FileTransformer|null