@next-core/brick-utils 2.51.6 → 2.51.8

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.
package/dist/index.esm.js CHANGED
@@ -20367,6 +20367,8 @@ function shakeConditionalNodes(conditionalNodes, rawContainer, rawKey) {
20367
20367
  brick: "div",
20368
20368
  if: false
20369
20369
  };
20370
+ } else if (isUseBrickEntry && conditionalNodes.length === 1) {
20371
+ rawContainer[rawKey] = conditionalNodes[0].raw;
20370
20372
  } else if (deleteEmptyArray && conditionalNodes.length === 0) {
20371
20373
  delete rawContainer[rawKey];
20372
20374
  } else {