importMainfrom'./output/Main'constmain=()=>{while(document.body.firstChild){document.body.removeChild(document.body.firstChild)}Main.main()}if(module.hot){module.hot.accept(()=>{console.log("Reloading, running main again")main()})}console.log("Starting app")main()