import { defineConfig } from 'astro/config';

export default defineConfig({
  base: '/ai-for-dummies',
  trailingSlash: 'always',
  build: {
    // Astro's default ('auto') inlines any stylesheet under ~4kB into a
    // <style> in the page. scripts/audit-ui.mjs reads its colour, size, and
    // breakpoint baseline from dist/_astro/*.css, so an inlined sheet drops
    // out of that audit entirely. Emitting every stylesheet as a file keeps
    // the whole cascade inside the audit's reach.
    inlineStylesheets: 'never',
  },
});
