import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';

export default defineConfig({
  site: 'https://www.cameleer.io',
  output: 'static',
  trailingSlash: 'ignore',
  build: {
    // 'directory' outputs <page>/index.html so extensionless URLs like /pricing
    // resolve natively under Apache without MultiViews or rewrite rules.
    format: 'directory',
    assets: 'assets',
    inlineStylesheets: 'auto',
  },
  compressHTML: true,
  integrations: [
    tailwind({ applyBaseStyles: false }),
  ],
  vite: {
    build: {
      cssMinify: 'lightningcss',
    },
  },
});
