angular/packages/platform-server/src
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
..
bundled-domino.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
domino_adapter.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
http.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
location.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform-server.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform_state.ts refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
private_export.ts refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
provide_server.ts refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
server.ts refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
server_events.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tokens.ts refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
transfer_state.ts refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
types.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
utils.ts refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
version.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00