We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03b2bff commit 6541e70Copy full SHA for 6541e70
packages/compiler-sfc/src/cssVars.ts
@@ -26,7 +26,7 @@ export function generateCssVars(
26
id: string,
27
isProd: boolean
28
): string {
29
- return genCssVarsFromList(sfc.cssVars, id, isProd)
+ return sfc.cssVars.length ? genCssVarsFromList(sfc.cssVars, id, isProd) : ''
30
}
31
32
function genCssVarsFromList(
0 commit comments