diff --git a/packages/core/src/hydration/compression.ts b/packages/core/src/hydration/compression.ts index ab073878889..247231d0ea7 100644 --- a/packages/core/src/hydration/compression.ts +++ b/packages/core/src/hydration/compression.ts @@ -15,7 +15,7 @@ import {NodeNavigationStep, REFERENCE_NODE_BODY, REFERENCE_NODE_HOST} from './in * - the `b` char which indicates that the lookup should start from the `document.body` * - the `h` char to start lookup from the component host node (`lView[HOST]`) */ -const REF_EXTRACTOR_REGEXP = new RegExp( +const REF_EXTRACTOR_REGEXP = /* @__PURE__ */ new RegExp( `^(\\d+)*(${REFERENCE_NODE_BODY}|${REFERENCE_NODE_HOST})*(.*)`, );