According to https://nx.dev/recipes/generators/creating-files Generators provide an API for managing files within your workspace. You can use generators to do things such as create, update, move, and delete files. it’s possible to delete files in an NX generator. I have the following code that generates a node application but I want to delete some of the generated files. Output What API