angular-docs-cn/packages/compiler-cli/test
Alex Rickabaugh 550433a128 feat(compiler-cli): lower loadChildren fields to allow dynamic module paths (#23088)
Computing the value of loadChildren does not work externally, as the CLI
needs to be able to detect the paths referenced to properly set up
codesplitting. However, internally, different approaches to codesplitting
require hashed module IDs, and the computation of those hashes involves
something like:

{path: '...', loadChildren: hashFn('module')}

ngc should lower loadChildren into an exported constant in that case.

This will never break externally, because loadChildren is always a
string externally, and a string won't get lowered.

PR Close #23088
2018-04-04 08:20:21 -07:00
..
diagnostics build(compiler-cli): include new test files in bazel config (#22705) 2018-03-30 07:58:36 -07:00
metadata ci(compiler-cli): run compiler-cli tests in bazel (#22997) 2018-03-28 10:02:53 -07:00
transformers fix(compiler-cli): use numeric comparison for TypeScript version (#22705) 2018-03-30 07:58:36 -07:00
BUILD.bazel feat(compiler-cli): lower loadChildren fields to allow dynamic module paths (#23088) 2018-04-04 08:20:21 -07:00
extract_i18n_spec.ts ci(compiler-cli): run compiler-cli tests in bazel (#22997) 2018-03-28 10:02:53 -07:00
mocks.ts feat(compiler): implement "enableIvy" compiler option (#21427) 2018-01-18 18:22:44 -06:00
ngc_spec.ts feat(compiler-cli): lower loadChildren fields to allow dynamic module paths (#23088) 2018-04-04 08:20:21 -07:00
ngtools_api_spec.ts ci(compiler-cli): run compiler-cli tests in bazel (#22997) 2018-03-28 10:02:53 -07:00
perform_watch_spec.ts build: upgrade to TypeScript 2.6 (#21144) 2017-12-22 20:15:47 -08:00
test_support.ts ci(compiler-cli): run compiler-cli tests in bazel (#22997) 2018-03-28 10:02:53 -07:00