remove HMR stuff, let sapper inject it. fixes #2 (#12)

This commit is contained in:
Rich Harris
2017-12-19 08:51:54 -05:00
committed by GitHub
parent b69d378fae
commit 0922ce431d

View File

@@ -1,10 +1,4 @@
import { init } from '__app__';
// `routes` is an array of route objects injected by Sapper
init(document.querySelector('#sapper'), __routes__);
// if (__dev__) {
// // Enable hot-module reloading
// import('sapper/webpack/hmr');
// if (module.hot) module.hot.accept();
// }
init(document.querySelector('#sapper'), __routes__);