generate entry-point
Command
ng generate entry-point [name] [options]Creates a new secondary entry point in an Angular library project.
Arguments
nameThe name of the secondary entry point (for example, 'testing' or 'feature/sub').
Value Type
stringOptions
entry-fileThe file name at which to create the secondary entry point's public API file, without the .ts extension.
Value Type
stringDefaultpublic-apiprefixAlias
pA prefix to apply to generated selectors.
Value Type
stringprojectThe name of the library project where the secondary entry point should be added. If not specified, the CLI will determine the project from the current directory.
Value Type
stringskip-testsDo not create spec.ts test files for the new secondary entry point.
Value Type
booleanDefaultfalseskip-ts-configDo not update tsconfig.json to add a path mapping for the new secondary entry point.
Value Type
booleanDefaultfalsestandaloneCreates a secondary entry point based upon the standalone API, without NgModules.
Value Type
booleanDefaulttrueJump to details