From ad11ae42865f12d411b34dd37c6b6949cc96a5ea Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 24 Feb 2022 18:38:17 +0100 Subject: use sveltekit nodejs adapter --- web/pw-server/package.json | 1 + web/pw-server/svelte.config.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'web') diff --git a/web/pw-server/package.json b/web/pw-server/package.json index a43f82b..d29479c 100644 --- a/web/pw-server/package.json +++ b/web/pw-server/package.json @@ -34,6 +34,7 @@ "vite-plugin-wasm-pack": "^0.1.9" }, "dependencies": { + "@sveltejs/adapter-node": "^1.0.0-next.69", "@types/luxon": "^2.0.9", "ace-builds": "^1.4.14", "dayjs": "^1.10.7", diff --git a/web/pw-server/svelte.config.js b/web/pw-server/svelte.config.js index f0e3c27..f2587f7 100644 --- a/web/pw-server/svelte.config.js +++ b/web/pw-server/svelte.config.js @@ -1,4 +1,4 @@ -import adapter from "@sveltejs/adapter-auto"; +import adapter from "@sveltejs/adapter-node"; import preprocess from "svelte-preprocess"; import { viteCommonjs } from "@originjs/vite-plugin-commonjs"; import wasmPack from "vite-plugin-wasm-pack"; -- cgit v1.2.3