We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec0014 commit ed387e8Copy full SHA for ed387e8
src/node/build/build.ts
@@ -109,15 +109,15 @@ export async function build(
109
clientResult.output.some(
110
(chunk) =>
111
chunk.type === 'chunk' &&
112
- chunk.name === 'theme' &&
+ (vite.rolldownVersion || chunk.name === 'theme') && // FIXME: remove when rolldown-vite supports manualChunks
113
chunk.moduleIds.some((id) => id.includes('client/theme-default'))
114
)
115
116
const metadataScript = generateMetadataScript(pageToHashMap, siteConfig)
117
118
if (isDefaultTheme) {
119
const fontURL = assets.find((file) =>
120
- /inter-roman-latin\.\w+\.woff2/.test(file)
+ /inter-roman-latin\.[\w-]+\.woff2/.test(file)
121
122
if (fontURL) {
123
additionalHeadTags.push([
0 commit comments