angular-cn/packages/core/test/di
Kara Erickson 7d6f4885b2 fix(ivy): properly tree-shake away StaticInjector (#30219)
Ivy uses R3Injector, but we are currently pulling in both the StaticInjector
(View Engine injector) and the R3Injector when running with Ivy. This commit
adds an ivy switch so calling Injector.create() pulls in the correct
implementation of the injector depending on whether you are using VE or Ivy.
This saves us about 3KB in the bundle.

PR Close #30219
2019-04-30 21:35:54 -07:00
..
forward_ref_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
injector_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
r3_injector_spec.ts refactor(ivy): use ɵɵ instead of Δ for now (#29850) 2019-04-11 16:27:56 -07:00
reflective_injector_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
reflective_key_spec.ts build(core): remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
static_injector_spec.ts fix(ivy): properly tree-shake away StaticInjector (#30219) 2019-04-30 21:35:54 -07:00