resolveAssetGroup
resolveAssetGroup(
projectRelPath,config):ResolvedAssetGroup
Defined in: asset/assetGroups.ts:92
The delivery group an asset belongs to, in priority order:
- An explicit
config.groupsentry whosefolderis (the longest) prefix of the asset’s path — the modern, name-decoupled configuration. - The legacy folder-name convention (
subpackages/<name>/→ lazy,remote/<name>/→ remote) — kept as a zero-config default / back-compat. main/local— the eagerly-shipped default.
Pure: config is the parsed document (or null when the project has none).
The SINGLE resolver the cook and the editor Play realm both call.
Parameters
Section titled “Parameters”projectRelPath
Section titled “projectRelPath”string
config
Section titled “config”AssetGroupsConfig | null | undefined