From a1f3ae5799b3184a71647cf4d0f0f84b64986c4a Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 19 Dec 2023 08:27:07 +0000 Subject: [PATCH] fix(@schematics/angular): do not generate standalone component when using `ng generate module` Adjust the module schematic to always generate non standalone components. Closes #26700 --- packages/schematics/angular/module/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/schematics/angular/module/index.ts b/packages/schematics/angular/module/index.ts index 7fd1edf6ae61..96a42934af5c 100644 --- a/packages/schematics/angular/module/index.ts +++ b/packages/schematics/angular/module/index.ts @@ -176,6 +176,7 @@ export default function (options: ModuleOptions): Rule { name: options.name, path: options.path, project: options.project, + standalone: false, }; return chain([