wip: fix cssVars option warning check
This commit is contained in:
parent
0e86cbfcf2
commit
a9424354b0
@ -171,7 +171,7 @@ function doCompileTemplate({
|
||||
nodeTransforms = [transformAssetUrl, transformSrcset]
|
||||
}
|
||||
|
||||
if (ssr && !compilerOptions.ssrCssVars) {
|
||||
if (ssr && compilerOptions.ssrCssVars == null) {
|
||||
warnOnce(
|
||||
`compileTemplate is called with \`ssr: true\` but no ` +
|
||||
`corresponding \`ssrCssVars\` option. The value can be generated by ` +
|
||||
|
Loading…
Reference in New Issue
Block a user