build for static
This commit is contained in:
parent
d38cd0db4f
commit
c7729358d3
|
@ -14,6 +14,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/adapter-auto": "^2.0.0",
|
"@sveltejs/adapter-auto": "^2.0.0",
|
||||||
"@sveltejs/adapter-cloudflare": "^2.3.0",
|
"@sveltejs/adapter-cloudflare": "^2.3.0",
|
||||||
|
"@sveltejs/adapter-static": "^2.0.2",
|
||||||
"@sveltejs/kit": "^1.5.0",
|
"@sveltejs/kit": "^1.5.0",
|
||||||
"@types/prismjs": "^1.26.0",
|
"@types/prismjs": "^1.26.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
export const prerender = true;
|
|
@ -1,4 +1,4 @@
|
||||||
import adapter from '@sveltejs/adapter-auto';
|
import adapter from '@sveltejs/adapter-static';
|
||||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||||
import {mdsvex} from "mdsvex";
|
import {mdsvex} from "mdsvex";
|
||||||
|
|
||||||
|
|
|
@ -233,6 +233,11 @@
|
||||||
esbuild "^0.17.18"
|
esbuild "^0.17.18"
|
||||||
worktop "0.8.0-next.15"
|
worktop "0.8.0-next.15"
|
||||||
|
|
||||||
|
"@sveltejs/adapter-static@^2.0.2":
|
||||||
|
version "2.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/@sveltejs/adapter-static/-/adapter-static-2.0.2.tgz#49afd27787fb73d789017d002a91031088494139"
|
||||||
|
integrity sha512-9wYtf6s6ew7DHUHMrt55YpD1FgV7oWql2IGsW5BXquLxqcY9vjrqCFo0TzzDpo+ZPZkW/v77k0eOP6tsAb8HmQ==
|
||||||
|
|
||||||
"@sveltejs/kit@^1.5.0":
|
"@sveltejs/kit@^1.5.0":
|
||||||
version "1.20.0"
|
version "1.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-1.20.0.tgz#5deed969badda2cd9d4c68c580362c492425be75"
|
resolved "https://registry.yarnpkg.com/@sveltejs/kit/-/kit-1.20.0.tgz#5deed969badda2cd9d4c68c580362c492425be75"
|
||||||
|
|
Loading…
Reference in New Issue