mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 10:33:43 +08:00
This commit introduces a new utility function designed to extract routes and creating a corresponding route tree.
27 lines
1014 B
TypeScript
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';
|