docs: describe your change.

This commit is contained in:
Rado Kirov 2019-03-20 14:40:27 -07:00 committed by GitHub
parent 9eb8274991
commit a6eb5bcc9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,11 +317,7 @@ Compare to [custom element](guide/glossary#custom-element).
## entry point ## entry point
A JavaScript symbol that makes parts of an [npm package](guide/npm-packages) available for import by other code. A JavaScript module(guide/glossary#module) that is indended to be imported by a user of [a npm package](guide/npm-packages). Usually, it simply reexports symbols from other internal modules. [A npm package](guide/npm-packages) can contain multiple entry-points. For example, the `@angular/core` package has two entry-point modules, which can be imported using the module names - `@angular/core` and `@angular/core/testing`.
The Angular [scoped packages](guide/glossary#scoped-package) each have an entry point named `index`.
Within Angular, use [NgModules](guide/glossary#ngmodule) to make public parts available for import by other NgModules.
{@a F} {@a F}