Files
ta1sph.info/astro.config.mjs
T
suphicakir c5e0b009ca feat: scaffold Astro 7 with Tailwind 4, MDX, sitemap, node adapter and tooling
- Tailwind v4 via @tailwindcss/vite + typography plugin
- astro-icon (Tabler), self-hosted Rubik/Inter, RSS, Pagefind postbuild
- Prettier (astro + tailwind plugins), editorconfig
- new:post script with Turkish-aware slugify

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 00:25:29 +03:00

26 lines
726 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import node from '@astrojs/node';
import icon from 'astro-icon';
// https://astro.build/config
export default defineConfig({
site: 'https://ta1sph.info',
trailingSlash: 'always',
// Static by default; only routes with `export const prerender = false` (view counter API) run on the server.
output: 'static',
adapter: node({ mode: 'standalone' }),
integrations: [
mdx(),
sitemap({ filter: (page) => !page.includes('/_styleguide/') }),
icon({ include: { tabler: ['*'] } }),
],
vite: {
plugins: [tailwindcss()],
},
});