update sveltekit version

This commit is contained in:
Ilion Beyst 2022-02-24 18:47:36 +01:00
parent ad11ae4286
commit b679103a4c
3 changed files with 11 additions and 4 deletions

View file

@ -14,7 +14,7 @@
"devDependencies": {
"@originjs/vite-plugin-commonjs": "^1.0.1",
"@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next",
"@sveltejs/kit": "^1.0.0-next.286",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.30",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",

View file

@ -0,0 +1,8 @@
/** @type {import('@sveltejs/kit').Handle} */
export async function handle({ event, resolve }) {
const response = await resolve(event, {
ssr: false,
});
return response;
}

View file

@ -14,8 +14,7 @@ const config = {
adapter: adapter(),
// hydrate the <div id="svelte"> element in src/app.html
target: "#svelte",
ssr: false,
// target: "#svelte",
vite: {
plugins: [
isoImport(),
@ -31,7 +30,7 @@ const config = {
},
server: {
proxy: {
"/api/": "http://localhost:9000",
"/api/": "http://127.0.0.1:9000",
"/ws": "ws://localhost:9000/ws",
},
fs: {