chore: add `@ts-ignore` to `vite.rolldownVersion` access

pull/4816/head
sapphi-red 3 months ago
parent c8fc80e438
commit dbc3071d4c
No known key found for this signature in database

@ -109,6 +109,7 @@ export async function build(
clientResult.output.some(
(chunk) =>
chunk.type === 'chunk' &&
// @ts-ignore only exists for rolldown-vite
(vite.rolldownVersion || chunk.name === 'theme') && // FIXME: remove when rolldown-vite supports manualChunks
chunk.moduleIds.some((id) => id.includes('client/theme-default'))
)

Loading…
Cancel
Save