Skip to content

Commit a1f3ae5

Browse files
committed
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
1 parent b3c1991 commit a1f3ae5

File tree

1 file changed

+1
-0
lines changed
  • packages/schematics/angular/module

1 file changed

+1
-0
lines changed

packages/schematics/angular/module/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ export default function (options: ModuleOptions): Rule {
176176
name: options.name,
177177
path: options.path,
178178
project: options.project,
179+
standalone: false,
179180
};
180181

181182
return chain([

0 commit comments

Comments
 (0)