mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3230d78c54
This commit adds the `ngServerMode` as global, which allows for the tree-shaking of server-only code from the bundles. When this flag is unset at runtime, server-specific code will be excluded by Closure, optimizing bundle size. **Internal Angular Flag:** This is an internal Angular flag (not a public API), avoid relying on it in application code. PR Close #58386