put everything in __sapper__

This commit is contained in:
Rich Harris
2018-09-30 14:55:54 -04:00
parent 4f6efbda79
commit a43764a971
8 changed files with 14 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
import { Store } from 'svelte/store.js';
import * as sapper from './__sapper__/client.js';
import * as sapper from '../__sapper__/client.js';
window.init = () => {
return sapper.start({

View File

@@ -9,7 +9,7 @@
<button class='prefetch' on:click='prefetch("blog/why-the-name")'>Why the name?</button>
<script>
import { prefetch } from '../__sapper__/client.js';
import { prefetch } from '../../__sapper__/client.js';
export default {
methods: {

View File

@@ -3,7 +3,7 @@ import { resolve } from 'url';
import express from 'express';
import serve from 'serve-static';
import { Store } from 'svelte/store.js';
import * as sapper from './__sapper__/server.js';
import * as sapper from '../__sapper__/server.js';
let pending;
let ended;

View File

@@ -1,4 +1,4 @@
import { files, shell, timestamp, routes } from './__sapper__/service-worker.js';
import { files, shell, timestamp, routes } from '../__sapper__/service-worker.js';
const ASSETS = `cachetimestamp`;