angular-cli/packages/angular/ssr/private_export.ts
Alan Agius 9fa75a852b refactor(@angular/ssr): Add Utility Function for route extraction and tree creation
This commit introduces a new utility function designed to extract routes and creating a corresponding route tree.
2024-08-29 07:08:13 +02:00

27 lines
1014 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
*/
// ɵgetRoutesFromAngularRouterConfig is only used by the Webpack based server builder.
export {
getRoutesFromAngularRouterConfig as ɵgetRoutesFromAngularRouterConfig,
extractRoutesAndCreateRouteTree as ɵextractRoutesAndCreateRouteTree,
} from './src/routes/ng-routes';
export {
ServerRenderContext as ɵServerRenderContext,
getOrCreateAngularServerApp as ɵgetOrCreateAngularServerApp,
destroyAngularServerApp as ɵdestroyAngularServerApp,
} from './src/app';
export {
setAngularAppManifest as ɵsetAngularAppManifest,
setAngularAppEngineManifest as ɵsetAngularAppEngineManifest,
} from './src/manifest';
export { AngularAppEngine as ɵAngularAppEngine } from './src/app-engine';
export { InlineCriticalCssProcessor as ɵInlineCriticalCssProcessor } from './src/utils/inline-critical-css';