UNPKG

@malagu/core

Version:
16 lines 655 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const dynamic_container_1 = require("../container/dynamic-container"); const application_protocol_1 = require("./application-protocol"); const container_1 = require("../container"); dynamic_container_1.container.then(c => { container_1.ContainerProvider.set(c); const application = c.get(application_protocol_1.Application); application.start().catch(reason => { console.error(`Failed to start the ${application.constructor.name}.`); if (reason) { console.error(reason); } }); }); //# sourceMappingURL=application-entry.js.map