From 4ff205d0656241e7351a93fe3ea558f02499b009 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 17 Dec 2017 17:28:35 -0500 Subject: [PATCH] inject location of sapper runtime, since it cant be resolved from /tmp --- templates/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/main.js b/templates/main.js index e774d1c..8e4da96 100644 --- a/templates/main.js +++ b/templates/main.js @@ -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__);