import { defineConfig, sharpImageService } from 'astro/config'; import svelte from "@astrojs/svelte"; import tailwind from "@astrojs/tailwind"; import configureI18n from "./astro-i18n.adapter"; import sitemap from "@astrojs/sitemap"; import robotsTxt from "astro-robots-txt"; // https://astro.build/config export default defineConfig({ output: "static", image: { service: sharpImageService() }, compressHTML: true, site: "https://steamwar.de", integrations: [svelte(), tailwind({ configFile: "./tailwind.config.cjs" }), configureI18n(), sitemap({ i18n: { defaultLocale: "en", locales: { en: "en-US", de: "de-DE" } } }), robotsTxt({ policy: [{ userAgent: "*", disallow: ["/admin", "/login", "/dashboard", "/de", "/_astro"] }] })], vite: {} });