Skip to content

Commit a139fe6

Browse files
authored
fix angular19 (#277)
* fix angular19 * remove unused fields * add comment
1 parent 7fe9dad commit a139fe6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/@apphosting/adapter-angular/src/interface.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@ export const buildManifestSchema = z.object({
6363
server: z.optional(url),
6464
browser: url,
6565
}),
66-
prerenderedRoutes: z.optional(z.string().array()),
66+
// angular v18 has an array type and v19 has an object type
67+
// We should uncomment this when we need to use prerenderedRoutes
68+
// prerenderedRoutes: z.optional(z.union([z.string().array(), z.object({})])),
6769
});

0 commit comments

Comments
 (0)