ng-dynamic-mf
Version:
[](https://www.npmjs.com/package/ng-dynamic-mf) [ • 629 B
JavaScript
import { initializeAppInternal } from 'ng-dynamic-mf';
function initializeApp(settings) {
const lrm = async (options) => {
if (settings.type === 'host') {
const module = await settings.loadRemoteModule({
...options,
});
return module;
}
else {
throw new Error('loadRemoteModule has been called for non-host build. This is not supported.');
}
};
return initializeAppInternal(settings, lrm, 'nf');
}
/**
* Generated bundle index. Do not edit.
*/
export { initializeApp };
//# sourceMappingURL=ng-dynamic-mf-nf.mjs.map