BangSo/apps/www/astro.config.mjs

42 lines
767 B
JavaScript

import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "astro/config";
export default defineConfig({
site: "https://rakazo.com",
output: "static",
i18n: {
defaultLocale: "en",
locales: ["en", "de", "ko"],
routing: {
prefixDefaultLocale: false,
},
},
integrations: [
react(),
sitemap({
i18n: {
defaultLocale: "en",
locales: {
en: "en-US",
de: "de-DE",
ko: "ko-KR",
},
},
}),
],
vite: {
plugins: [tailwindcss()],
},
server: {
host: "127.0.0.1",
port: 4321,
strictPort: true,
},
preview: {
host: "0.0.0.0",
port: 4321,
},
});