@@ -24,6 +24,10 @@ import {
2424
2525const SSG_MARKER_REGEXP = / n g - s e r v e r - c o n t e x t = [ " ' ] \w * \| ? s s g \| ? \w * [ " ' ] / ;
2626
27+ /**
28+ * @deprecated Part of Angular's Webpack support deprecation. Use `AngularNodeAppEngine` or `AngularAppEngine` instead.
29+ * Deprecated since v22.
30+ */
2731export interface CommonEngineOptions {
2832 /** A method that when invoked returns a promise that returns an `ApplicationRef` instance once resolved or an NgModule. */
2933 bootstrap ?: Type < { } > | ( ( context : BootstrapContext ) => Promise < ApplicationRef > ) ;
@@ -38,6 +42,10 @@ export interface CommonEngineOptions {
3842 allowedHosts ?: readonly string [ ] ;
3943}
4044
45+ /**
46+ * @deprecated Part of Angular's Webpack support deprecation. Use `AngularNodeAppEngine` or `AngularAppEngine` instead.
47+ * Deprecated since v22.
48+ */
4149export interface CommonEngineRenderOptions {
4250 /** A method that when invoked returns a promise that returns an `ApplicationRef` instance once resolved or an NgModule. */
4351 bootstrap ?: Type < { } > | ( ( context : BootstrapContext ) => Promise < ApplicationRef > ) ;
@@ -63,8 +71,10 @@ export interface CommonEngineRenderOptions {
6371
6472/**
6573 * A common engine to use to server render an application.
74+ *
75+ * @deprecated Part of Angular's Webpack support deprecation. Use `AngularNodeAppEngine` or `AngularAppEngine` instead.
76+ * Deprecated since v22.
6677 */
67-
6878export class CommonEngine {
6979 private readonly templateCache = new Map < string , string > ( ) ;
7080 private readonly inlineCriticalCssProcessor = new CommonEngineInlineCriticalCssProcessor ( ) ;
0 commit comments