Do not include sourcemap files in Service Worker shell

Fixes #534
This commit is contained in:
Nolan Lawson
2018-12-16 11:46:44 -08:00
parent 02cef046aa
commit f97400caaa
17 changed files with 467 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
import * as sapper from '../__sapper__/client.js';
window.start = () => sapper.start({
target: document.querySelector('#sapper')
});
window.prefetchRoutes = () => sapper.prefetchRoutes();
window.prefetch = href => sapper.prefetch(href);
window.goto = href => sapper.goto(href);