File tree 3 files changed +5
-6
lines changed
docs-svelte-kit/src/routes
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
import { markdownPath } from "$lib/utils.js"
2
2
const docs = import . meta. glob ( "../../../docs/**/*.md" )
3
3
4
+ export const prerender = true
5
+
4
6
/** @type {import('@sveltejs/kit').Load } */
5
7
export async function load ( { url } ) {
6
8
const markdown = `../../../docs/${ markdownPath ( url . pathname ) } `
Original file line number Diff line number Diff line change 90
90
"@fontsource/fira-mono" : " ^4.5.0" ,
91
91
"@ota-meshi/eslint-plugin" : " ^0.12.0" ,
92
92
"@sindresorhus/slugify" : " ^2.1.0" ,
93
- "@sveltejs/adapter-static" : " ^1.0.0-next.26 " ,
94
- "@sveltejs/kit" : " ^1.0.0-next.406 " ,
93
+ "@sveltejs/adapter-static" : " ^1.0.0-next.40 " ,
94
+ "@sveltejs/kit" : " ^1.0.0-next.456 " ,
95
95
"@types/babel__core" : " ^7.1.19" ,
96
96
"@types/cross-spawn" : " ^6.0.2" ,
97
97
"@types/escape-html" : " ^1.0.2" ,
Original file line number Diff line number Diff line change @@ -37,12 +37,9 @@ const config = {
37
37
pages : outDir ,
38
38
assets : outDir ,
39
39
} ) ,
40
- prerender : {
41
- default : true ,
42
- } ,
43
40
files : {
44
41
routes : path . join ( dirname , "./docs-svelte-kit/src/routes" ) ,
45
- template : path . join ( dirname , "./docs-svelte-kit/src/app.html" ) ,
42
+ appTemplate : path . join ( dirname , "./docs-svelte-kit/src/app.html" ) ,
46
43
hooks : path . join ( dirname , "./docs-svelte-kit/src/hooks" ) ,
47
44
lib : path . join ( dirname , "./docs-svelte-kit/src/lib" ) ,
48
45
assets : path . join ( dirname , "./docs-svelte-kit/statics" ) ,
You can’t perform that action at this time.
0 commit comments