(host: Tree, mainPath: string)
| 71 | } |
| 72 | |
| 73 | export function getAppModulePath(host: Tree, mainPath: string): string { |
| 74 | const moduleRelativePath = findBootstrapModulePath(host, mainPath); |
| 75 | const mainDir = dirname(mainPath); |
| 76 | const modulePath = join(mainDir, `${moduleRelativePath}.ts`); |
| 77 | |
| 78 | return modulePath; |
| 79 | } |
| 80 | |
| 81 | export function isStandaloneApp(host: Tree, mainPath: string): boolean { |
| 82 | try { |
no test coverage detected