mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 18:43:42 +08:00
Importing `PrerenderFallback` in a project throws at build time in 19.0.0-rc.2 with: ```ts ✘ [ERROR] No matching export in "node_modules/@angular/ssr/fesm2022/ssr.mjs" for import "PrerenderFallback" src/app/app.routes.server.ts:1:9: 1 │ import { PrerenderFallback, RenderMode, ServerRoute } from '@angula... ``` This exports `PrerenderFallback` the same way `RenderMode` is exported to fix the issue.
26 lines
685 B
TypeScript
26 lines
685 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 * from './private_export';
|
|
|
|
export { AngularAppEngine } from './src/app-engine';
|
|
export { createRequestHandler, type RequestHandlerFunction } from './src/handler';
|
|
|
|
export {
|
|
PrerenderFallback,
|
|
type ServerRoute,
|
|
type ServerRoutesConfigOptions,
|
|
provideServerRoutesConfig,
|
|
RenderMode,
|
|
type ServerRouteClient,
|
|
type ServerRoutePrerender,
|
|
type ServerRoutePrerenderWithParams,
|
|
type ServerRouteServer,
|
|
type ServerRouteCommon,
|
|
} from './src/routes/route-config';
|