Skip to content

attachSpriteImages

attachSpriteImages(result, images): EmitResult

Defined in: packages/core/src/emitter/assets.ts:417

Attach fetch-at-emit image refs to an emit result — the EmitImageRef analog of attachSpriteAssets: records the (deduped) refs and declares the document sprite on the style root, since the style’s mlym:<name> references only resolve once the sprite exists.

ParameterType
resultEmitResult
imagesreadonly EmitImageRef[]

EmitResult