Files
moreminimore-astroreal/astro.config.mjs
Macky 0faf75a9a2 feat: switch to markdown content collections + remove emdash integration
- 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
2026-06-03 14:14:35 +07:00

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 },
});