irongit
henslee/astro.config.mjs
20 lines449 BJavaScript
1// @ts-check
2import { defineConfig } from 'astro/config';
3import tailwindcss from '@tailwindcss/vite';
4
5// https://astro.build/config
6export default defineConfig({
7 site: 'https://henslee.me',
8 // Emit index.html, giga.html, gate.html so the worker can fetch /gate
9 // without tripping trailing-slash redirects.
10 build: {
11 format: 'file',
12 },
13 server: {
14 port: 8227,
15 host: true,
16 },
17 vite: {
18 plugins: [tailwindcss()],
19 },
20});