@stacksjs/stx 0.2.107 → 0.2.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -347,7 +347,7 @@ export function processExpressions(template, context, filePath, options) {
347
347
  output = maskInto(output, styleMatcher, styleBlocks, (n) => `<!--__STX_STYLE_${n}__-->`);
348
348
  const scriptBlocks = [];
349
349
  output = maskInto(output, matchScriptElement, scriptBlocks, (n) => `<!--__STX_SCRIPT_EXPR_${n}__-->`);
350
- const hasSignals = options?.forceSignals === !0 || usesSignalsInScript(template);
350
+ const hasSignals = options?.forceSignals === !0 || context?.__stx_force_signals === !0 || usesSignalsInScript(template);
351
351
  output = output.replace(/\{\{\{([\s\S]*?)\}\}\}/g, (match, expr, offset) => {
352
352
  try {
353
353
  const value = evaluateExpression(expr, context);