website/astro.config.ts
xHyroM 046e07e295 fix: resolve all issues, astro@2
finish astro@2 upgrade
2023-02-24 11:16:07 +01:00

43 lines
977 B
TypeScript

import { defineConfig } from "astro/config";
// https://astro.build/config
import tailwind from "@astrojs/tailwind";
// https://astro.build/config
import image from "@astrojs/image";
// https://astro.build/config
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
import compress from "astro-compress";
// https://astro.build/config
import prefetch from "@astrojs/prefetch";
import robotsTxt from "astro-robots-txt";
import minify from "./astro-integrations/minify";
// https://astro.build/config
export default defineConfig({
site: "https://xhyrom.me/",
//prepisat uwu
integrations: [
tailwind(),
image(),
sitemap(),
compress({
svg: false,
html: false,
}),
prefetch(),
robotsTxt({
policy: [
{
userAgent: "*",
},
],
sitemap: true,
}),
minify(),
],
});