silverwolf-x's picture
download
raw
595 Bytes
// 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)
})

Xet Storage Details

Size:
595 Bytes
·
Xet hash:
2a348649cf3bf51dcec32a35884ce9041d5c2a130d233f856de6f46983affdc1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.