Skip to content

Commit 4970c39

Browse files
committed
chore: improve code
1 parent 4bcf9c4 commit 4970c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/src/compileScript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ export function compileScript(
14331433
if (
14341434
cssVars.length &&
14351435
// no need to do this when targeting SSR
1436-
!(scriptSetup && options.templateOptions?.ssr)
1436+
!options.templateOptions?.ssr
14371437
) {
14381438
helperImports.add(CSS_VARS_HELPER)
14391439
helperImports.add('unref')

0 commit comments

Comments
 (0)