From c1450220e041cad9123db74dd1fb40a9207926ac Mon Sep 17 00:00:00 2001 From: daiwei Date: Wed, 12 Apr 2023 13:16:13 +0800 Subject: [PATCH 1/2] fix: improve code gen when using cssVars in SSR --- src/transform.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/transform.ts b/src/transform.ts index f984426f..c92ecfe5 100644 --- a/src/transform.ts +++ b/src/transform.ts @@ -102,9 +102,10 @@ export async function compileFile( const [clientScript, bindings] = clientScriptResult clientCode += clientScript - // script ssr only needs to be performed if using