Ninja-Squad / ninja-squad.github.com

Ninja Squad's awesome blog
http://blog.ninja-squad.com
7 stars 5 forks source link

chore: fix typo on 'how to migrate to standalone components' #371

Closed marcwrobel closed 1 year ago

marcwrobel commented 1 year ago

The mode is prune-ng-modules, not prune-ng-module.

marcwrobel commented 1 year ago

When running the command, I got :

$ npx --package @angular/cli ng generate @angular/core:standalone --defaults --mode=prune-ng-module
Error: Invalid values:
  Argument: mode, Given: "prune-ng-module", Choices: "convert-to-standalone", "prune-ng-modules", "standalone-bootstrap"