Every hook a compiled game references, deduplicated by type:name and ordered so the output is stable.
type:name
import { collectHookReferences, type MwlCompiledGame } from '@datamoc/mw_games/mwl';declare const game: MwlCompiledGame;console.log(collectHookReferences(game).map((reference) => `${reference.type}:${reference.name}`)); Copy
import { collectHookReferences, type MwlCompiledGame } from '@datamoc/mw_games/mwl';declare const game: MwlCompiledGame;console.log(collectHookReferences(game).map((reference) => `${reference.type}:${reference.name}`));
Every hook a compiled game references, deduplicated by
type:nameand ordered so the output is stable.