angular-docs-cn/packages
Paul Gschwendtner 91b7152852 feat(compiler-cli): no longer re-export external symbols by default (#28633)
With #28594 we refactored the `@angular/compiler` slightly to
allow opting out from external symbol re-exports which are
enabled by default.

Since symbol re-exports only benefit projects which have a
very strict dependency enforcement, external symbols should
not be re-exported by default as this could grow the size of
factory files and cause unexpected behavior with Angular's
AOT symbol resolving (e.g. see: #25644).

Note that the common strict dependency enforcement for source
files does still work with external symbol re-exports disabled,
but there are also strict dependency checks that enforce strict
module dependencies also for _generated files_ (such as the
ngfactory files). This is how Google3 manages it's dependencies
and therefore external symbol re-exports need to be enabled within
Google3.

Also "ngtsc" also does not provide any way of using external symbol
re-exports, so this means that with this change, NGC can partially
match the behavior of "ngtsc" then (unless explicitly opted-out).

As mentioned before, internally at Google symbol re-exports need to
be still enabled, so the `ng_module` Bazel rule will enable the symbol
re-exports by default when running within Blaze.

Fixes #25644.

PR Close #28633
2019-02-13 09:49:51 -08:00
..
animations style: change to American English (#27266) 2019-01-29 16:30:25 -08:00
bazel feat(compiler-cli): no longer re-export external symbols by default (#28633) 2019-02-13 09:49:51 -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 feat(compiler-cli): no longer re-export external symbols by default (#28633) 2019-02-13 09:49:51 -08:00
compiler-cli feat(compiler-cli): no longer re-export external symbols by default (#28633) 2019-02-13 09:49:51 -08:00
core refactor(ivy): remove unused parameter in postProcessBaseDirective (#28631) 2019-02-13 09:49:28 -08:00
docs
elements build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
examples fix(ivy): ngOnChanges should be inherited from super class (#28563) 2019-02-11 16:22:31 -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 fix(compiler): markup lexer should not capture quotes in attribute value (#28055) 2019-02-12 20:58:27 -08:00
platform-browser test(ivy): turn on passing test in platform-browser (#28604) 2019-02-07 16:46:34 -08:00
platform-browser-dynamic refactor(compiler): wrap the jit evaluation in an injectable class (#28055) 2019-02-12 20:58:27 -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
empty.ts
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
system.d.ts
tsconfig-build.json
tsconfig-test.json
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