[ci] format
This commit is contained in:
parent
2f0b823f28
commit
ee38b02aa8
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@ async function loadRenderer(
|
||||||
viteServer: ViteDevServer,
|
viteServer: ViteDevServer,
|
||||||
renderer: AstroRenderer
|
renderer: AstroRenderer
|
||||||
): Promise<SSRLoadedRenderer> {
|
): Promise<SSRLoadedRenderer> {
|
||||||
const mod = (await viteServer.ssrLoadModule(renderer.serverEntrypoint)) as { default: SSRLoadedRenderer['ssr'] };
|
const mod = (await viteServer.ssrLoadModule(renderer.serverEntrypoint)) as {
|
||||||
|
default: SSRLoadedRenderer['ssr'];
|
||||||
|
};
|
||||||
return { ...renderer, ssr: mod.default };
|
return { ...renderer, ssr: mod.default };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue