mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 20:02:40 +08:00
The `es2015` exports package condition is used by `rxjs` to allow bundlers to use the ES2015-based ESM code instead of the default of ES5-based ESM code. The ES5-based ESM code is larger in size and harder to optimize due to the downlevelled classes. This change results in a ~5Kb size reduction for the main bundle of a new application (129920 -> 124183).