inject location of sapper runtime, since it cant be resolved from /tmp

This commit is contained in:
Rich Harris
2017-12-17 17:28:35 -05:00
parent 01cc2cec5c
commit 4ff205d065

View File

@@ -1,4 +1,4 @@
import { init } from 'sapper/runtime/app.js';
import { init } from '__app__';
// `routes` is an array of route objects injected by Sapper
init(document.querySelector('#sapper'), __routes__);