Collect the following information step by step from $ARGUMENTS (defaults to the current working directory if empty), then output the aggregated MFContext.
Find config files in the following priority order (.ts / .mts take precedence over .js / .mjs / .cjs):
| 1 | module-federation.config.{ts,mts,js,mjs,cjs} | | 2 | rsbuild.config.{ts,mts,js,mjs,cjs} | | 3 | rspack.config.{ts,mts,js,mjs,cjs} | | 4 | modern.config.{ts,mts,js,mjs,cjs} | | 5 | next.config.{ts,mts,js,mjs,cjs} | | 6 | webpack.config.{ts,js} |
Raccoglie il contesto della federazione dei moduli del progetto corrente (MFContext) e restituisce un riepilogo strutturato. Serve come base dati per tutte le competenze diagnostiche MF; può anche essere chiamato standalone per comprendere rapidamente la configurazione MF del progetto. Fonte: module-federation/core.