angular-docs-cn/packages
Paul Gschwendtner 872a3656fe refactor(compiler): allow disabling external symbol factory reexports (#28594)
Currently external static symbols which are referenced by AOT
compiler generated code, will be re-exported in the corresponding
`.ngfactory` files.

This way of handling the symbol resolution has been introduced in
favor of avoding dynamically generated module dependencies. This
behavior therefore avoids any strict dependency failures.

Read more about a particular scenario here: https://github.com/angular/angular/issues/25644#issuecomment-458354439

Now with `ngtsc`, this behavior has changed since `ngtsc` just
introduces these module dependencies in order to properly reference
the external symbol from its original location (also eliminating the need
for factories). Similarly we should provide a way to use the same
behavior with `ngc` because the downside of using the re-exported symbol
resolution is that user-code transformations (e.g. the `ngInjectableDef`
metadata which is added to the user source code), can resolve external
symbols to previous factory symbol re-exports. This is a critical issue
because it means that the actual JIT code references factory files in order
to access external symbols. This means that the generated output cannot
shipped to NPM without shipping the referenced factory files.

A specific example has been reported here: https://github.com/angular/angular/issues/25644#issue-353554070

PR Close #28594
2019-02-11 17:12:50 +00:00
..
animations style: change to American English (#27266) 2019-01-29 16:30:25 -08:00
bazel refactor(common): Remove deprecated FileType (#28583) 2019-02-07 16:45:22 -08:00
benchpress feat: optionally save complete performance log in chrome benchpress tests (#27551) 2019-02-05 23:35:32 -05:00
common docs: update HttpHeader documentation (#26233) 2019-02-07 16:42:13 -08:00
compiler refactor(compiler): allow disabling external symbol factory reexports (#28594) 2019-02-11 17:12:50 +00:00
compiler-cli fix(compiler-cli): don't throw when listing lazy routes for an entry route (#28372) 2019-02-07 12:36:51 -08:00
core fix(ivy): properly query root nodes of embedded views(shallow queries) (#28560) 2019-02-08 16:42:45 -08:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
elements build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
examples test(ivy): add root cause for failing forms e2e tests (#28620) 2019-02-08 13:34:24 -08:00
forms build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
http build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
language-service build: remove unused "test.sh" leftover code in language-service (#28352) 2019-02-05 14:31:10 -05:00
platform-browser test(ivy): turn on passing test in platform-browser (#28604) 2019-02-07 16:46:34 -08:00
platform-browser-dynamic build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
platform-server fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00
platform-webworker fix(ivy): WorkerAppModule should be an APP_ROOT (#28544) 2019-02-06 14:05:53 -05:00
platform-webworker-dynamic build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
private/testing build: run playground e2e examples with bazel (#28490) 2019-02-04 16:51:11 -05:00
router refactor(router): change RouterLinkActive impl to account for upcoming ivy breaking change (#28560) 2019-02-08 16:42:45 -08:00
service-worker build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
upgrade test(upgrade): change flaky test to not be affected by other tests (#28617) 2019-02-08 09:27:02 -08:00
BUILD.bazel build(bazel): use fine-grained npm deps (#26111) (#26488) 2018-10-19 20:59:29 -07:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt build: bump year (#27880) 2019-01-11 11:15:59 -08:00
rollup.config.js refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build.json build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
tsconfig-test.json build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
tsconfig.json build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
types.d.ts build: switch to typescript's es2015 typings (#28570) 2019-02-06 14:17:55 -05:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT