Skip to content

Commit a9d87b2

Browse files
authored
chore: add @ts-ignore to vite.rolldownVersion access (#4816)
1 parent c8fc80e commit a9d87b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node/build/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export async function build(
109109
clientResult.output.some(
110110
(chunk) =>
111111
chunk.type === 'chunk' &&
112+
// @ts-ignore only exists for rolldown-vite
112113
(vite.rolldownVersion || chunk.name === 'theme') && // FIXME: remove when rolldown-vite supports manualChunks
113114
chunk.moduleIds.some((id) => id.includes('client/theme-default'))
114115
)

0 commit comments

Comments
 (0)