angular/packages/core/src
Alan Agius 3230d78c54 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
..
application refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
authoring feat(core): introduce debugName optional arg to framework signal functions (#57073) 2024-10-22 11:26:37 -07:00
change_detection refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
compiler refactor(compiler): dynamic default for the partial compiler. (#58169) 2024-10-15 16:05:14 +00:00
debug refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
defer refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
di docs: fix errata in provideEnvironmentInitializer API docs (#58355) 2024-10-28 12:29:53 -07:00
hydration refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
i18n refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
interface refactor(core): drop the Mutable utility type. (#58124) 2024-10-10 10:47:50 +00:00
internal refactor(core): account for anonymous classes in internal utility (#58392) 2024-10-28 12:38:03 -07:00
linker build: remove usages of useDefineForClassFields: false (#58297) 2024-10-28 12:26:06 -07:00
metadata refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform feat(core): add syntactic sugar for initializers (#53152) 2024-10-22 09:38:18 -07:00
reflection refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
render refactor(core): support external runtime styles via a component feature (#57922) 2024-09-30 13:25:12 -07:00
render3 refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
resource feat(core): experimental resource() API for async dependencies (#58255) 2024-10-21 13:25:58 -07:00
sanitization refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
testability refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
util refactor(core): introduce ngServerMode as global (#58386) 2024-10-30 10:13:28 -07:00
view refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
authoring.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
cached_injector_service.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
change_detection.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
console.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core.externs.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core.ts refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
core_private_export.ts refactor(core): add incremental hydration infrastructure (#58193) 2024-10-21 12:05:06 -07:00
core_reactivity_export.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core_reactivity_export_internal.ts feat(core): introduce the reactive linkedSignal (#58189) 2024-10-18 08:12:51 +00:00
core_render3_private_export.ts refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
di.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
error_details_base_url.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
error_handler.ts refactor(core): removing error related dead code. (#58272) 2024-10-22 09:42:47 -07:00
errors.ts fix(core): Re-assign error codes to be within core bounds (<1000) (#53455) 2024-10-07 08:21:13 -07:00
event_delegation_utils.ts fix(core): Prevents trying to trigger incremental hydration on CSR (#58366) 2024-10-29 05:07:37 -07:00
event_emitter.ts refactor(core): test EventEmitter completion on destroy with outputToObservable (#58239) 2024-10-17 11:37:57 +00:00
image_performance_warning.ts fix(common): prevent warning about oversize image twice (#58021) 2024-10-02 11:46:17 +00:00
linker.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
metadata.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
pending_tasks.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
profiler.ts refactor(platform-server): Add an ssr benchmark setup. (#57647) 2024-10-04 10:45:22 -07:00
r3_symbols.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
render.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
transfer_state.ts refactor: add @__PURE__ next to @pureOrBreakMyCode for improved bundler compatibility (#58297) 2024-10-28 12:26:06 -07:00
version.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
zone.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00