feat: ssr support for <style vars>
This commit is contained in:
@@ -120,6 +120,7 @@ export function createTransformContext(
|
||||
expressionPlugins = [],
|
||||
scopeId = null,
|
||||
ssr = false,
|
||||
ssrCssVars = ``,
|
||||
bindingMetadata = {},
|
||||
onError = defaultOnError
|
||||
}: TransformOptions
|
||||
@@ -136,6 +137,7 @@ export function createTransformContext(
|
||||
expressionPlugins,
|
||||
scopeId,
|
||||
ssr,
|
||||
ssrCssVars,
|
||||
bindingMetadata,
|
||||
onError,
|
||||
|
||||
@@ -148,7 +150,7 @@ export function createTransformContext(
|
||||
imports: new Set(),
|
||||
temps: 0,
|
||||
cached: 0,
|
||||
identifiers: {},
|
||||
identifiers: Object.create(null),
|
||||
scopes: {
|
||||
vFor: 0,
|
||||
vSlot: 0,
|
||||
|
||||
Reference in New Issue
Block a user