angular-docs-cn/packages/compiler-cli
Alex Rickabaugh de445709d4 fix(ivy): use ReflectionHost to check exports when writing an import (#33192)
This commit fixes ngtsc's import generator to use the ReflectionHost when
looking through the exports of an ES module to find the export of a
particular declaration that's being imported. This is necessary because
some module formats like CommonJS have unusual export mechanics, and the
normal TypeScript ts.TypeChecker does not understand them.

This fixes an issue with ngcc + CommonJS where exports were not being
enumerated correctly.

FW-1630 #resolve

PR Close #33192
2019-10-17 19:43:39 -04:00
..
integrationtest build: remove vendored Babel typings (#33226) 2019-10-17 18:45:52 -04:00
ngcc fix(ivy): use ReflectionHost to check exports when writing an import (#33192) 2019-10-17 19:43:39 -04:00
src fix(ivy): use ReflectionHost to check exports when writing an import (#33192) 2019-10-17 19:43:39 -04:00
test test: clean up explicit dynamic query usages (#33015) 2019-10-17 16:10:10 -04:00
BUILD.bazel build: fix build failures with worker mode cache and @types/events (#31325) 2019-07-01 14:16:43 -07:00
index.ts refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
ngtools2.ts refactor(compiler-cli): expose ngtools api separately (#18978) 2017-08-31 14:37:13 -07:00
package.json feat: change tslib from direct dependency to peerDependency (#32167) 2019-10-14 16:34:47 +00:00
tsconfig-build.json perf(ivy): ngcc - only find dependencies when targeting a single entry-point (#30525) 2019-07-09 09:40:46 -07:00
tsconfig.json perf(ivy): ngcc - only find dependencies when targeting a single entry-point (#30525) 2019-07-09 09:40:46 -07:00