angular-docs-cn/packages/compiler-cli
Paul Gschwendtner 1e5a818719 fix(ivy): ngtsc is unable to detect flat module entry-point on windows (#29453)
Currently when building an Angular project with `ngtsc`
and `flatModuleOutFile` enabled, the Ngtsc build will fail
if there are multiple source files as root file names.

Ngtsc and NGC currently determine the entry-point for multiple
root file names by looking for files ending with `/index.ts`.

This functionality is technically deprecated, but still supported
and currently breaks on Windows as the root file names are not
guaranteed to be normalized POSIX-like paths.

In order to make this logic more reliable in the future, this commit
also switches the shim generators and entry-point logic to the branded
path types. This ensures that we don't break this in the future.

PR Close #29453
2019-03-27 13:46:37 -07:00
..
integrationtest fix(bazel): add missing binary path for api-extractor (#29202) 2019-03-12 10:49:49 -07:00
ngcc feat(ivy): select instruction now generated in front of all relevant instructions (#29546) 2019-03-27 12:37:03 -07:00
src fix(ivy): ngtsc is unable to detect flat module entry-point on windows (#29453) 2019-03-27 13:46:37 -07:00
test fix(ivy): ngtsc is unable to detect flat module entry-point on windows (#29453) 2019-03-27 13:46:37 -07:00
BUILD.bazel refactor(ivy): move ngcc into a higher level folder (#29092) 2019-03-20 14:45:54 -04:00
index.ts feat(compiler-cli): expose ngtsc as a TscPlugin (#28435) 2019-01-29 16:41:59 -08:00
ngtools2.ts refactor(compiler-cli): expose ngtools api separately (#18978) 2017-08-31 14:37:13 -07:00
package.json refactor(ivy): move ngcc into a higher level folder (#29092) 2019-03-20 14:45:54 -04:00
tsconfig-build.json build(compiler-cli): enable full TypeScript strictness (#29436) 2019-03-21 12:14:39 -04:00
tsconfig.json build(compiler-cli): enable full TypeScript strictness (#29436) 2019-03-21 12:14:39 -04:00