@maverick-js/compiler
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -1065,4 +1065,8 @@ import { createFunctionCall, setGlobalLogLevel, mapLogLevelStringToNumber, log, logTime, Declarations, format, createImportDeclaration, trimQuotes, trimTrailingSemicolon, createStringLiteral, escapeDoubleQuotes, createObjectLiteral, trimWhitespace } from './chunks/chunk-LHZES57P.js'; | ||
} else if (ctx.fragment && ctx.hydratable) { | ||
expressions.push(createFunctionCall(RUNTIME.nextExpression, [expression])); | ||
ctx.runtime.add(RUNTIME.nextExpression); | ||
if (!node.observable) { | ||
expressions.push(expression); | ||
} else { | ||
expressions.push(createFunctionCall(RUNTIME.nextExpression, [expression])); | ||
ctx.runtime.add(RUNTIME.nextExpression); | ||
} | ||
} else { | ||
@@ -1455,3 +1459,3 @@ expressions.push(expression); | ||
} else { | ||
if (node !== firstNode || ctx.fragment) | ||
if (node !== firstNode || ctx.fragment && node.observable) | ||
marker(); | ||
@@ -1458,0 +1462,0 @@ const code = !node.children ? node.value : serializeParentExpression(ssr, node, ctx); |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "module": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
248162
6916