Interface: ExternalsPresetDefinition
Definition for a named externals preset.
Properties
extends?
optionalextends?:string|string[]
Other preset names to apply before the current preset.
resolveExternals?
optionalresolveExternals?: (value:boolean|object,context:ExternalsPresetContext) =>Record<string,ExternalValue>
Resolve external request mappings contributed by this preset.
Parameters
Returns
Record<string, ExternalValue>
resolveManagedAssets?
optionalresolveManagedAssets?: (value:boolean|object,context:ExternalsPresetContext) =>Map<string,string> |Record<string,string>
Resolve managed bundle assets contributed by this preset.
Parameters
Returns
Map<string, string> | Record<string, string>