( host: Tree, moduleName: string, src: string, project: ProjectDefinition, )
| 27 | |
| 28 | /** Import and add module to root app module. */ |
| 29 | export function addModuleImportToRootModule( |
| 30 | host: Tree, |
| 31 | moduleName: string, |
| 32 | src: string, |
| 33 | project: ProjectDefinition, |
| 34 | ) { |
| 35 | const modulePath = getAppModulePath(host, getProjectMainFile(project)); |
| 36 | addModuleImportToModule(host, modulePath, moduleName, src); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Import and add module to specific module path. |
nothing calls this directly
no test coverage detected