Skip to content

StripPreservationRegions

@aurorajs.dev/catalyst-cli


@aurorajs.dev/catalyst-cli / generator/engine/lock-file / stripPreservationRegions

stripPreservationRegions(content): string

Defined in: generator/engine/lock-file.ts:153

Strip preservation region bodies from content, preserving markers. Renaming a marker invalidates the hash because the marker name stays in the stripped string. Files without regions are returned unchanged.

string

string