feat(server): multiple island exports (#1397)

This commit is contained in:
Reed von Redwitz
2023-07-03 09:59:38 +02:00
committed by GitHub
parent 16be99e69b
commit a3f7c212f4
9 changed files with 166 additions and 70 deletions
+2 -1
View File
@@ -262,7 +262,7 @@ export interface Middleware<State = Record<string, unknown>> {
export interface IslandModule {
// deno-lint-ignore no-explicit-any
default: ComponentType<any>;
[key: string]: ComponentType<any>;
}
export interface Island {
@@ -270,6 +270,7 @@ export interface Island {
name: string;
url: string;
component: ComponentType<unknown>;
exportName: string;
}
// --- PLUGINS ---