Emits the standard MWL outputs plus game-owned artifacts in stable name order.
import { compile, emitArtifacts } from '@datamoc/mw_games/mwl';const artifacts = emitArtifacts(compile("[{ tag: 'game', schema: 0.1 }]"));console.log(artifacts.map((artifact) => artifact.name)); // ['game-data.ts', 'i18n.json', 'assets.json'] Copy
import { compile, emitArtifacts } from '@datamoc/mw_games/mwl';const artifacts = emitArtifacts(compile("[{ tag: 'game', schema: 0.1 }]"));console.log(artifacts.map((artifact) => artifact.name)); // ['game-data.ts', 'i18n.json', 'assets.json']
Emits the standard MWL outputs plus game-owned artifacts in stable name order.