In regards to the widgetPath:
Within microfrontends, there are “modules” and “exports for those modules,” which are what I’d recommend using for loading the correct module:
{
"sections": [
{ "moduleName": "@bahmni/esm-dashboard", "moduleExport": "nameOfExport" }
]
}
// inside of @bahmni/esm-dashboard repo
export const nameOfExport = OurReactComp
One question for you – what are “externalLibraries” in this context?
"externalLibraries": {