@nrwl/angular:library-secondary-entry-point
Creates a secondary entry point for an Angular publishable library.
Creates a secondary entry point for an Angular publishable library.
Create a secondary entrypoint named button
in the ui
library.
nx g @nrwl/angular:library-secondary-entry-point --library=ui --name=button
nx generate library-secondary-entry-point ...
nx g secondary-entry-point ... #same
By default, Nx will search for library-secondary-entry-point
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:library-secondary-entry-point ...
Show what will be generated without writing to disk:
nx g library-secondary-entry-point ... --dry-run
^[a-zA-Z].*$
The name of the library to create the secondary entry point for.
^[a-zA-Z].*$
The name of the secondary entry point.
false
Skip generating a module for the secondary entry point.