links/astro.config.ts

30 lines
567 B
TypeScript
Raw Permalink Normal View History

2023-04-01 11:21:00 +02:00
import { defineConfig } from "astro/config";
2023-01-06 20:10:00 +01:00
2023-04-01 11:21:00 +02:00
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import robotsTxt from "astro-robots-txt";
2024-01-11 15:48:33 +01:00
import icon from "astro-icon";
2023-01-06 20:14:29 +01:00
2023-04-01 11:21:00 +02:00
import { SITE } from "./src/config";
2023-01-06 21:56:34 +01:00
2023-01-06 20:14:29 +01:00
// https://astro.build/config
export default defineConfig({
2023-04-01 11:21:00 +02:00
site: SITE.url,
output: "static",
integrations: [
tailwind(),
sitemap(),
robotsTxt({
policy: [
{
userAgent: "*",
},
],
sitemap: true,
}),
2024-04-02 19:30:20 +02:00
icon({
iconDir: "src/assets/icons",
}),
2023-04-01 11:21:00 +02:00
],
2023-01-06 20:14:29 +01:00
});