Stats Field Reference
mf-stats.json é generated quando manifest é habilitado. It contains full build statistics, including exposes/shared/remotes assets, metaData (build info, remoteEntry, etc.), e asset analysis results.
Use este document para understand every field em mf-stats.json, que é helpful for debugging e analysis.
Top-level
metaData (Both Files)
metaData describes how this build is consumed at runtime and the build context. Both mf-stats.json and mf-manifest.json include it.
StatsMetaData
StatsMetaData has two mutually exclusive shapes:
- Function form:
getPublicPath: string - String form:
publicPath: string(optionalssrPublicPath: string)
Shared fields:
ResourceInfo
StatsBuildInfo
MetaDataTypes
assets (Both Files)
StatsAssets describes sync/async assets for a shared or exposed module. Both files use it.
StatsAssets
StatsAssetsInfo
shared
StatsShared
remotes
StatsRemote records remote consumption info. It always includes either entry ou version.
StatsRemoteVal (shared fields)
StatsRemote (mutually exclusive)
entry: string(exists, then noversion)version: string(exists, then noentry)