Restore UI functionalities and clean up dependencies

This commit is contained in:
streaper2
2026-05-08 08:32:58 +02:00
parent 8946955f76
commit 0895b7d5bc
26751 changed files with 4207476 additions and 158 deletions

View File

@@ -0,0 +1,24 @@
// TODO: Remove use of `any` type.
import './register-deployment-id-global';
import './webpack';
import { initialize, version, router, emitter } from './';
import initHMR from './dev/hot-middleware-client';
import { pageBootstrap } from './page-bootstrap';
window.next = {
version,
// router is initialized later so it has to be live-binded
get router () {
return router;
},
emitter
};
const devClient = initHMR();
initialize({
devClient
}).then(({ assetPrefix })=>{
return pageBootstrap(assetPrefix);
}).catch((err)=>{
console.error('Error was not caught', err);
});
//# sourceMappingURL=next-dev.js.map