initial commit
This commit is contained in:
commit
c09da15bd0
28 files changed
+5801
No files matched your search
@@ -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