forked from ProjectSegfault/website
update sveltekit
This commit is contained in:
parent
2f4029bf7a
commit
6ed886ab70
10
package.json
10
package.json
@ -4,18 +4,16 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"package": "svelte-kit package",
|
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"check": "svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
||||||
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
|
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
|
||||||
"lint": "prettier --check --plugin-search-dir=. .",
|
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
|
||||||
"format": "prettier --write --plugin-search-dir=. ."
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify-json/fa6-solid": "^1.1.6",
|
"@iconify-json/fa6-solid": "^1.1.6",
|
||||||
"@iconify-json/simple-icons": "^1.1.24",
|
"@iconify-json/simple-icons": "^1.1.24",
|
||||||
"@sveltejs/adapter-static": "1.0.0-next.39",
|
"@sveltejs/adapter-static": "1.0.0-next.41",
|
||||||
"@sveltejs/kit": "1.0.0-next.454",
|
"@sveltejs/kit": "1.0.0-next.460",
|
||||||
"dayjs": "^1.11.5",
|
"dayjs": "^1.11.5",
|
||||||
"mdsvex": "^0.10.6",
|
"mdsvex": "^0.10.6",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
@ -30,7 +28,7 @@
|
|||||||
"tslib": "^2.4.0",
|
"tslib": "^2.4.0",
|
||||||
"typescript": "^4.8.2",
|
"typescript": "^4.8.2",
|
||||||
"unocss": "^0.45.13",
|
"unocss": "^0.45.13",
|
||||||
"vite": "^3.1.0-beta.1"
|
"vite": "3.1.0-beta.1"
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}
|
||||||
|
3677
pnpm-lock.yaml
generated
3677
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
1
src/routes/+layout.ts
Normal file
1
src/routes/+layout.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export const prerender = true;
|
@ -17,11 +17,7 @@ const config = {
|
|||||||
],
|
],
|
||||||
|
|
||||||
kit: {
|
kit: {
|
||||||
adapter: adapter(),
|
adapter: adapter()
|
||||||
|
|
||||||
prerender: {
|
|
||||||
default: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user