mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Close #35157
In the current version of zone.js, zone.js uses it's own package format, and it is not following the rule
of Angualr package format(APF), so it is not easily to be consumed by Angular CLI or other bundle tools.
For example, zone.js npm package has two bundles,
1. zone.js/dist/zone.js, this is a `es5` bundle.
2. zone.js/dist/zone-evergreen.js, this is a `es2015` bundle.
And Angular CLI has to add some hard-coding code to handle this case, o
|
||
|---|---|---|
| .. | ||
| change_detection | ||
| class_bindings | ||
| expanding_rows | ||
| js-web-frameworks | ||
| largeform | ||
| largetable | ||
| old | ||
| styling | ||
| tree | ||
| views | ||
| bootstrap_ng2.ts | ||
| bootstrap_plain.ts | ||
| BUILD.bazel | ||
| README.md | ||
| util.ts | ||
Benchmark Directory Layout
Bazel
Under bazel the rules for laying out test files are slightly different. Use largetable/render3 as an example.
Put the perf file in current subdirectory (ie largetable) such that the same perf file can be used for each of the sub-subdirectories. (ie largetable/* should all be testable with the same perf file largetable/largetable_perf.spec.ts). Under bazel, typescript protractor spec files must end with .spec.ts or .test.ts.