angular-cn/packages/compiler-cli/src
Alex Rickabaugh 276bdd1f3e fix(ivy): move the generation of ɵNonEmptyModule to shim construction (#27483)
ngfactory files have a ɵNonEmptyModule constant included if there are no
other exported factory symbols. Previously this extra export was added
dynamically in a TS transformer.

However, synthetically constructed exports don't get properly downleveled
during JS emit, and this generated constant caused issues with downstream
tests.

Instead, this commit configures the shim to always have this export to
begin with, and to filter it out if it's not required.

Testing strategy: covered by existing ngtsc_spec tests which verify the
presence of the ɵNonEmptyModule symbol.

PR Close #27483
2018-12-05 16:26:39 -08:00
..
diagnostics docs: convert all `@experimental` tags to `@publicApi` tags (#26595) 2018-10-19 14:35:52 -07:00
metadata fix(compiler-cli): flatModuleIndex files not generated on windows with multiple input files (#27200) 2018-12-04 14:01:25 -08:00
ngcc fix(ivy): resolve resources using TS module resolution semantics (#27357) 2018-12-04 14:03:55 -08:00
ngtsc fix(ivy): move the generation of ɵNonEmptyModule to shim construction (#27483) 2018-12-05 16:26:39 -08:00
transformers feat(ivy): updated translation const names (that include message ids) (#27185) 2018-11-30 10:00:54 -08:00
extract_i18n.ts refactor(compiler): remove all source-level traces to tsc-wrapped (#18966) 2017-09-13 20:47:37 -04:00
language_services.ts refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
main.ts test(ivy): refactor ngtsc tests to use an NgtscTestEnvironment helper (#26203) 2018-10-04 10:11:17 -07:00
ngtools_api.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
ngtools_api2.ts feat(ivy): output diagnostics for many errors in ngtsc (#25647) 2018-08-31 09:43:30 -07:00
perform_compile.ts feat(compiler-cli): add support to extend `angularCompilerOptions` (#22717) 2018-09-19 16:17:28 -07:00
perform_watch.ts refactor(compiler): typo (#25496) 2018-11-05 12:53:04 -08:00
version.ts style: remove empty comments (#23404) 2018-05-10 15:48:13 -07:00