mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
Expose a variant of `AngularAppEngine` tailored for Node.js. These additions streamline the process by minimizing boilerplate code and eliminate the need for users to call `createWebRequestFromNodeRequest` before invoking the render method.
23 lines
602 B
TypeScript
23 lines
602 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
export {
|
|
CommonEngine,
|
|
type CommonEngineRenderOptions,
|
|
type CommonEngineOptions,
|
|
} from './src/common-engine/common-engine';
|
|
|
|
export {
|
|
type AngularNodeServerAppManager,
|
|
destroyAngularNodeAppEngine,
|
|
getOrCreateAngularNodeAppEngine,
|
|
} from './src/app-engine';
|
|
|
|
export { writeResponseToNodeResponse } from './src/response';
|
|
export { createWebRequestFromNodeRequest } from './src/request';
|