Skip to content

Function: assetDeclarations() ​

assetDeclarations(plugins, editLog?): AssetInfo[]

Defined in: render/src/assets.ts:29

Lists the assets that a render can need: the declarations of the plugins, then the entries of editLog.assets. A plugin declaration wins over a log entry with the same id. Pure: it reads and fetches nothing.

Parameters ​

plugins ​

readonly AnyPlugin[]

editLog? ​

Pick<EditLog, "assets"> | null

Returns ​

AssetInfo[]