2019-10-27 18:11:57 +00:00
|
|
|
import './routes/_thirdparty/regenerator-runtime/runtime.js'
|
2018-12-11 15:31:48 +00:00
|
|
|
import * as sapper from '../__sapper__/client.js'
|
|
|
|
import { loadPolyfills } from './routes/_utils/loadPolyfills'
|
|
|
|
import './routes/_utils/serviceWorkerClient'
|
|
|
|
import './routes/_utils/historyEvents'
|
|
|
|
import './routes/_utils/loadingMask'
|
2019-07-21 22:31:26 +00:00
|
|
|
import './routes/_utils/forceOnline'
|
2018-12-11 15:31:48 +00:00
|
|
|
|
|
|
|
loadPolyfills().then(() => {
|
|
|
|
console.log('init()')
|
|
|
|
sapper.start({ target: document.querySelector('#sapper') })
|
|
|
|
})
|
|
|
|
|
2018-12-16 03:21:20 +00:00
|
|
|
console.log('process.env.NODE_ENV', process.env.NODE_ENV)
|
|
|
|
|
2018-12-11 15:31:48 +00:00
|
|
|
if (module.hot) {
|
|
|
|
module.hot.accept()
|
|
|
|
}
|