Function: applyAdditionalShared

applyAdditionalShared(sharedConfig, additionalShared, projectGraph): void

Add additional dependencies to the shared package that may not have been discovered by the project graph.

This can be useful for applications that use a Dependency Injection system that expects certain Singleton values to be present in the shared injection hierarchy.

Parameters

NameTypeDescription
sharedConfigRecord<string, SharedLibraryConfig>The original Shared Config
additionalSharedAdditionalSharedConfigThe additional dependencies to add
projectGraphProjectGraphThe Nx project graph

Returns

void