Files
hyperframes/packages/core/scripts/build-svg-selector-aliases.ts
Miguel Ángel eff786383d fix(core): preserve SVG icons in loaded compositions (#5096)
* fix(core): namespace SVG ids in runtime-mounted compositions

* fix(core): keep SVG selectors and captured ids working after loaded scenes rename them

* chore(core): generated artifacts carry a plain do-not-edit banner

* test(catalog): record the font subsets the new scene-script installer requests

* test(catalog): keep earlier mirror recordings, as re-records only add
2026-10-06 11:02:51 +00:00

14 lines
469 B
TypeScript

/** Build the SVG selector alias installer that compiled scene scripts carry. */
import { buildInjectedArtifact } from "./buildInjectedArtifact.js";
buildInjectedArtifact({
scriptUrl: import.meta.url,
entry: "stubs/svg-selector-aliases-entry.ts",
out: "svg-selector-aliases-inline.ts",
constName: "SVG_SELECTOR_ALIASES_IIFE",
fnName: "getSvgSelectorAliasesScript",
what: "SVG selector alias installer IIFE",
event: "svg_selector_aliases_generated",
});