mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-20 05:25:11 +00:00
WIP towards 0.7 compatibility
This commit is contained in:
15
app/manifest/client.js
Normal file
15
app/manifest/client.js
Normal 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);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user