c5e0b009ca
- 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>
26 lines
726 B
JavaScript
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()],
|
|
},
|
|
});
|