1
Fork 0
driftingnebula-com/astro.config.ts

12 lines
347 B
TypeScript
Raw Normal View History

2024-03-02 12:32:01 +00:00
import {defineConfig} from "astro/config";
/** Create an absolute path from a given relative one. */
const toPath = (path: string) => new URL(path, import.meta.url).pathname;
export default defineConfig({
outDir: toPath("./out/"),
publicDir: toPath("./source/public"),
srcDir: toPath("./source"),
site: "https://driftingnebula.com",
});