@macrof/shared
Version:
React MicroFrontend Shared, Typescript, Webpack 5, ModuleFederation
14 lines (13 loc) • 456 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AFactoryStore = void 0;
const inversify_1 = require("inversify");
class AFactoryStore {
static appContainerFactory(parentContainer) {
const container = new inversify_1.Container({ defaultScope: 'Singleton', autoBindInjectable: true });
container.parent = parentContainer;
return container;
}
;
}
exports.AFactoryStore = AFactoryStore;