1.1 KiB
1.1 KiB
Function: shareWorkspaceLibraries
▸ shareWorkspaceLibraries(libraries, 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 |
|---|---|---|
libraries |
WorkspaceLibrary[] |
The Nx Workspace Libraries to share |
tsConfigPath? |
string |
The path to TS Config File that contains the Path Mappings for the Libraries |