Compile content and return a stable, machine-readable load report instead of throwing.
import { loadContent } from '@datamoc/mw_games/mwl';const report = loadContent([{ file: 'a.mwl', source: "[{ tag: 'game', schema: 0.1 }]" }]);console.log(report.game?.schema); // '0.1' Copy
import { loadContent } from '@datamoc/mw_games/mwl';const report = loadContent([{ file: 'a.mwl', source: "[{ tag: 'game', schema: 0.1 }]" }]);console.log(report.game?.schema); // '0.1'
Compile content and return a stable, machine-readable load report instead of throwing.