Function: applySharedFunction

applySharedFunction(sharedConfig, sharedFn): void

Apply a custom function provided by the user that will modify the Shared Config of the dependencies for the Module Federation build.

Parameters

NameTypeDescription
sharedConfigRecord<string, SharedLibraryConfig>The original Shared Config to be modified
sharedFnSharedFunctionThe custom function to run

Returns

void