- Remove emdash from astro.config.mjs (no more SSR/runtime) - Remove emdash + @astrojs/node from package.json - Switch output from 'server' to 'static' - Rewrite src/content.config.ts with 6 collections: pages, services, portfolio, faq, settings, blog - Keep live.config.ts as inert stub for build compat - Push new content from content-temp/pages/ into src/content/pages/ with full schema (title, subtitle, badge, hero_image, show_cta, cta_*, etc.) Build: 18 static pages, 0 errors
16 lines
393 B
JavaScript
16 lines
393 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
import react from "@astrojs/react";
|
|
import mdx from "@astrojs/mdx";
|
|
|
|
// All content is markdown → static output. No server runtime needed.
|
|
export default defineConfig({
|
|
output: "static",
|
|
integrations: [
|
|
react(),
|
|
mdx(),
|
|
],
|
|
image: { layout: "constrained", responsiveStyles: true },
|
|
devToolbar: { enabled: true },
|
|
});
|