initial commit
This commit is contained in:
commit
3ba76b4f02
90 changed files with 12507 additions and 0 deletions
23
astro.config.mjs
Normal file
23
astro.config.mjs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { defineConfig } from "astro/config";
|
||||
import react from "@astrojs/react";
|
||||
import mdx from "@astrojs/mdx";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
|
||||
// joshbairstow.com is the apex. Subdomains (blog., art., code.) are served from this
|
||||
// same build via the reverse proxy mapping host -> path prefix (see docs/planning.md §6.2).
|
||||
// `site` here drives canonical URLs in generated metadata and the sitemap.
|
||||
export default defineConfig({
|
||||
site: "https://joshbairstow.com",
|
||||
integrations: [react(), mdx(), sitemap()],
|
||||
output: "static",
|
||||
build: {
|
||||
format: "directory",
|
||||
},
|
||||
vite: {
|
||||
server: {
|
||||
// Allow the dev server to be hit by the local subdomain hostnames if you alias
|
||||
// them in /etc/hosts. Keeps testing the cross-subdomain link behavior easy.
|
||||
host: true,
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue