Skip to content

Commit

Permalink
fix(@schematics/angular): do not generate standalone component when u…
Browse files Browse the repository at this point in the history
…sing `ng generate module`

Adjust the module schematic to always generate non standalone components.

Closes #26700

(cherry picked from commit a1f3ae5)
  • Loading branch information
alan-agius4 committed Dec 19, 2023
1 parent cf11cdf commit 3130043
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/schematics/angular/module/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export default function (options: ModuleOptions): Rule {
name: options.name,
path: options.path,
project: options.project,
standalone: false,
};

return chain([
Expand Down

0 comments on commit 3130043

Please sign in to comment.