Skip to main content
Deletes a module from the project. It unregisters the module from AppModule and SharedModule, removes its path alias from the root tsconfig.json, then deletes the modules/<name>/ directory. The core app and shared modules cannot be removed, and a missing module is reported as an error.

Usage

Examples

Run with no flags to be prompted for the module name, then confirm removal:
Remove a module by name:

Options