angular/packages/core/src/util
Alan Agius 378284fa08 refactor(core): introduce ngServerMode as global (#58386)
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
2024-10-30 10:13:28 -07:00
..
security refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
array_utils.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
assert.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel fix(core): untrack various core operations (#54614) 2024-02-29 11:38:54 +01:00
callback_scheduler.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
char_code.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
closure.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
coercion.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
comparison.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
decorators.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
dom.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
global.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
is_dev_mode.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
iterable.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
lang.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_dev_mode.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_i18n_closure_mode.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_jit_mode.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_reflect.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_server_mode.ts refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
noop.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
performance.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
property.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
stringify.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00