initial commit
This commit is contained in:
13
landing/astro.config.mjs
Normal file
13
landing/astro.config.mjs
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
|
||||
// Build writes straight into ../www, which Caddy serves at the apex domain.
|
||||
// BASE_DOMAIN is baked at build time (default ulicraft.local).
|
||||
export default defineConfig({
|
||||
outDir: "../www",
|
||||
// Wipe ../www on each build so stale assets don't linger.
|
||||
build: { assets: "_assets" },
|
||||
vite: {
|
||||
// Surface BASE_DOMAIN to the build without the PUBLIC_ prefix dance;
|
||||
// index.astro reads it from process.env directly in frontmatter.
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user