Skip to content

Commit 455a06b

Browse files
committed
use getAssets in non-spa page event
1 parent 0808f8d commit 455a06b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/start/src/server/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export async function createPageEvent(ctx: FetchEvent) {
110110
const pageEvent: PageEvent = Object.assign(ctx, {
111111
manifest: 'json' in manifest ? await manifest.json() : {},
112112
assets: [
113-
...(await getClientEntryCssTags())
113+
...(await manifest.getAssets(import.meta.env.START_CLIENT_ENTRY))
114114
// ...(import.meta.env.START_ISLANDS
115115
// ? (await serverManifest.inputs[serverManifest.handler]!.assets()).filter(
116116
// s => (s as any).attrs.rel !== "modulepreload"

0 commit comments

Comments
 (0)