aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-02-24 18:38:17 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-02-24 18:38:17 +0100
commitad11ae42865f12d411b34dd37c6b6949cc96a5ea (patch)
tree7ac549f86e05fcdd8b92587b2ca27a5a4daba00b /web
parentbfc2263c7ccb44f636d2e7156dd61dd749bc7131 (diff)
downloadplanetwars.dev-ad11ae42865f12d411b34dd37c6b6949cc96a5ea.tar.xz
planetwars.dev-ad11ae42865f12d411b34dd37c6b6949cc96a5ea.zip
use sveltekit nodejs adapter
Diffstat (limited to 'web')
-rw-r--r--web/pw-server/package.json1
-rw-r--r--web/pw-server/svelte.config.js2
2 files changed, 2 insertions, 1 deletions
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";