WIP towards 0.7 compatibility

This commit is contained in:
Rich Harris
2018-02-17 17:45:18 -05:00
parent c84ae160ef
commit 1f9b212794
15 changed files with 97 additions and 115 deletions

15
app/manifest/client.js Normal file
View File

@@ -0,0 +1,15 @@
// This file is generated by Sapper — do not edit it!
export const routes = [
{ pattern: /^\/?$/, params: () => ({}), load: () => import(/* webpackChunkName: "_" */ '../../routes/index.html') },
{ pattern: /^\/4xx\/?$/, params: () => ({}), load: () => import(/* webpackChunkName: "_4xx" */ '../../routes/4xx.html') },
{ pattern: /^\/5xx\/?$/, params: () => ({}), load: () => import(/* webpackChunkName: "_5xx" */ '../../routes/5xx.html') },
{ pattern: /^\/about\/?$/, params: () => ({}), load: () => import(/* webpackChunkName: "about" */ '../../routes/about.html') },
{ pattern: /^\/blog\/?$/, params: () => ({}), load: () => import(/* webpackChunkName: "blog" */ '../../routes/blog/index.html') },
{ pattern: /^\/blog(?:\/([^\/]+))?\/?$/, params: match => ({ slug: match[1] }), load: () => import(/* webpackChunkName: "blog_$slug$" */ '../../routes/blog/[slug].html') }
];
if (module.hot) {
import('/Users/208311/Development/SVELTE/sapper/src/hmr-client.js').then(client => {
client.connect(23456);
});
}

20
app/manifest/server.js Normal file
View File

@@ -0,0 +1,20 @@
// This file is generated by Sapper — do not edit it!
import _ from '../../routes/index.html';
import _4xx from '../../routes/4xx.html';
import _5xx from '../../routes/5xx.html';
import about from '../../routes/about.html';
import blog from '../../routes/blog/index.html';
import * as api_blog_posts from '../../routes/api/blog-posts.js';
import * as api_blog_$slug$ from '../../routes/api/blog/[slug].js';
import blog_$slug$ from '../../routes/blog/[slug].html';
export const routes = [
{ id: '_', type: 'page', pattern: /^\/?$/, params: () => ({}), module: _ },
{ id: '_4xx', type: 'page', pattern: /^\/4xx\/?$/, params: () => ({}), module: _4xx },
{ id: '_5xx', type: 'page', pattern: /^\/5xx\/?$/, params: () => ({}), module: _5xx },
{ id: 'about', type: 'page', pattern: /^\/about\/?$/, params: () => ({}), module: about },
{ id: 'blog', type: 'page', pattern: /^\/blog\/?$/, params: () => ({}), module: blog },
{ id: 'api_blog_posts', type: 'route', pattern: /^\/api\/blog-posts\/?$/, params: () => ({}), module: api_blog_posts },
{ id: 'api_blog_$slug$', type: 'route', pattern: /^\/api\/blog(?:\/([^\/]+))?\/?$/, params: match => ({ slug: match[1] }), module: api_blog_$slug$ },
{ id: 'blog_$slug$', type: 'page', pattern: /^\/blog(?:\/([^\/]+))?\/?$/, params: match => ({ slug: match[1] }), module: blog_$slug$ }
];

View File

@@ -0,0 +1,33 @@
// This file is generated by Sapper — do not edit it!
export const timestamp = 1518906946124;
export const assets = [
"favicon.png",
"global.css",
"great-success.png",
"manifest.json",
"svelte-logo-192.png",
"svelte-logo-512.png"
];
export const shell = [
"/client/_.0.15d69aa40f5cf2c235b5.js",
"/client/blog.1.15d69aa40f5cf2c235b5.js",
"/client/blog_$slug$.2.15d69aa40f5cf2c235b5.js",
"/client/about.3.15d69aa40f5cf2c235b5.js",
"/client/_5xx.4.15d69aa40f5cf2c235b5.js",
"/client/_4xx.5.15d69aa40f5cf2c235b5.js",
"/client/6.6.15d69aa40f5cf2c235b5.js",
"/client/main.15d69aa40f5cf2c235b5.js",
"/client/0.b91f3b4b0888fc3dc282.hot-update.js",
"/client/b91f3b4b0888fc3dc282.hot-update.json"
];
export const routes = [
{ pattern: /^\/?$/ },
{ pattern: /^\/4xx\/?$/ },
{ pattern: /^\/5xx\/?$/ },
{ pattern: /^\/about\/?$/ },
{ pattern: /^\/blog\/?$/ },
{ pattern: /^\/blog(?:\/([^\/]+))?\/?$/ }
];