nx/docs/generated/devkit/OverwriteStrategy.md
Craigory Coppola dd6eda84b0
feat(devkit): allow to customize overwrite mode in generateFiles (#26354)
Adds a new capability to choose how to handle already existing target
files when using a generator.

See #17925

Co-authored-by: Michael Monerau <micmo@qontrol.io>
2024-06-04 16:12:15 -04:00

595 B

Enumeration: OverwriteStrategy

Specify what should be done when a file is generated but already exists on the system

Table of contents

Enumeration Members

Enumeration Members

KeepExisting

KeepExisting = "keepExisting"


Overwrite

Overwrite = "overwrite"


ThrowIfExisting

ThrowIfExisting = "throwIfExisting"