angular-cn/packages
Paul Gschwendtner 6085f335e8 fix(ivy): platform module bootstrap does not resolve resources (#29083)
Currently with ViewEngine, if someone runs the platform's
`bootstrapModule` method in order to boostrap a module in
JIT mode, external component resources are properly resolved
*automatically*.

Currently with Ivy, the developer would need to manually call
`resolveComponentResources` in order to asynchronously fetch
the determined external component resources. In order to make
this backwards compatible with ViewEngine, and also since
platforms can already specify a `ResourceLoader` compiler
provider, we need to automatically resolve all external
component resources on module bootstrap.

--

Since the `ResourceLoader` is part of the `@angular/compiler`,
because ViewEngine performed the factory creation in the compiler,
we can't access the `ResourceLoader` token from within core.

In order to workaround this without introducing a breaking change,
we just proxy the `ResourceLoader` token to `core` through the
compiler facade. In the future, we should be able to move the
`ResourceLoader` to core when ViewEngine code no longer exists in
the `@angular/compiler`.

PR Close #29083
2019-03-12 11:50:06 -07:00
..
animations build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
bazel fix(bazel): add missing binary path for api-extractor (#29202) 2019-03-12 10:49:49 -07:00
benchpress docs: cleanup contributors (#28930) 2019-03-06 14:48:30 -08:00
common build: turn off dts bundling for packages that still are not supported (#29128) 2019-03-07 10:47:20 -08:00
compiler fix(ivy): platform module bootstrap does not resolve resources (#29083) 2019-03-12 11:50:06 -07:00
compiler-cli fix(bazel): add missing binary path for api-extractor (#29202) 2019-03-12 10:49:49 -07:00
core fix(ivy): platform module bootstrap does not resolve resources (#29083) 2019-03-12 11:50:06 -07:00
docs
elements build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
examples fix(ivy): support property values changed in ngOnChanges (forward rref case) (#29054) 2019-03-05 14:27:08 -08:00
forms docs(forms): adding `clear` method to FormArray documentation (#29180) 2019-03-08 12:39:18 -08:00
http build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
language-service test: fix dts path to the flattened file (#28834) 2019-03-06 10:59:18 -08:00
platform-browser build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
platform-browser-dynamic build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
platform-server build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
platform-webworker build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
platform-webworker-dynamic build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
private/testing style: enforce buildifier lint on CI (#28186) 2019-02-26 16:57:41 -08:00
router docs: clarify intro and examples (#29012) 2019-03-07 15:34:28 -08:00
service-worker build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
upgrade build: remove now redundant `bundle_dts = True` attribute (#29128) 2019-03-07 10:47:20 -08:00
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
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
system.d.ts
tsconfig-build.json build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
tsconfig-test.json build: update to rules_typescript 0.25.1 (#28625) 2019-02-21 07:46:21 -08:00
tsconfig.json ci: saucelabs-legacy job should not run schematic core tests (#29124) 2019-03-05 16:10:08 -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