You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
598 B

import { fileURLToPath } from "url";
import { defineConfig } from "astro/config";
import solidJs from "@astrojs/solid-js";
import node from "@astrojs/node";
// https://astro.build/config
export default defineConfig({
site: "https://www.shadamethyst.xyz/",
integrations: [solidJs()],
// This seems to still put everything in `workspace:dist/website/dist/`,
// but I can live with the appended `dist` folder
outDir: fileURLToPath(new URL(import.meta.env["OUT_DIR"] ?? "./dist/", import.meta.url)),
output: "server",
adapter: node({
mode: "middleware"
})
});