mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Currently when building the `ng_package` multiple times, the old `ng_package` output will be copied over to the new `ng_package` content. Resulting in packages like `src/cdk/npm_package/npm_package/npm_package/AND_MORE`. This happens because currently all TypeScript definition files are resolved from within the `binDir`. This is just wrong because it could then take up the `d.ts` files from the previous `ng_package` output. All typescript definitions that belong to the target package, should be resolved through Bazel and copied based on that computation. Also fixes that `esm` files aren't written to the `ng_package` on Windows. This is because we try to flatten paths using the `path.delimiter` while the path is always using Posix delimiters (causing the paths to be incorrect) PR Close #27200 |
||
|---|---|---|
| .. | ||
| docs | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| check_version.js | ||
| index.bzl | ||
| package.bzl | ||
| package.json | ||
| protractor-utils.js | ||