mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
- Exposed several utility functions as private APIs to support the integration with the build system. - Removed `isDevMode` and caching logic from `AngularAppEngine`. This was necessary to better handle updates when using Vite. Instead, `AngularServerApp` is now treated as a singleton to simplify management. - Switched asset storage from an `Object` to a `Map` in the manifest for improved efficiency and consistency. This refactor sets the groundwork for seamless wiring with the build system.
19 lines
693 B
TypeScript
19 lines
693 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 { ServerRenderContext as ɵServerRenderContext } from './src/render';
|
|
export { getRoutesFromAngularRouterConfig as ɵgetRoutesFromAngularRouterConfig } from './src/routes/ng-routes';
|
|
export {
|
|
getOrCreateAngularServerApp as ɵgetOrCreateAngularServerApp,
|
|
destroyAngularServerApp as ɵdestroyAngularServerApp,
|
|
} from './src/app';
|
|
export {
|
|
setAngularAppManifest as ɵsetAngularAppManifest,
|
|
setAngularAppEngineManifest as ɵsetAngularAppEngineManifest,
|
|
} from './src/manifest';
|