Function: shareWorkspaceLibraries
▸ shareWorkspaceLibraries(workspaceLibs
, sharedWorkspaceLibs?
, tsConfigPath?
): SharedWorkspaceLibraryConfig
Build an object of functions to be used with the ModuleFederationPlugin to share Nx Workspace Libraries between Hosts and Remotes.
Parameters
Name | Type | Description |
---|---|---|
workspaceLibs | WorkspaceLibrary [] | The Nx Workspace Libraries to share |
sharedWorkspaceLibs? | SharedWorkspaceLibrary | - |
tsConfigPath? | string | The path to TS Config File that contains the Path Mappings for the Libraries |