diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-24 18:38:17 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-02-24 18:38:17 +0100 |
commit | ad11ae42865f12d411b34dd37c6b6949cc96a5ea (patch) | |
tree | 7ac549f86e05fcdd8b92587b2ca27a5a4daba00b /web/pw-server | |
parent | bfc2263c7ccb44f636d2e7156dd61dd749bc7131 (diff) | |
download | planetwars.dev-ad11ae42865f12d411b34dd37c6b6949cc96a5ea.tar.xz planetwars.dev-ad11ae42865f12d411b34dd37c6b6949cc96a5ea.zip |
use sveltekit nodejs adapter
Diffstat (limited to 'web/pw-server')
-rw-r--r-- | web/pw-server/package.json | 1 | ||||
-rw-r--r-- | web/pw-server/svelte.config.js | 2 |
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"; |