fix lazy css bug, add tests

This commit is contained in:
Rich Harris
2018-10-24 18:48:38 -04:00
parent ffd56e2a20
commit 410c52df41
12 changed files with 294 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);