website/astro.config.mjs

44 lines
984 B
JavaScript
Raw Normal View History

2022-12-23 14:08:00 +01:00
import { defineConfig } from "astro/config";
2022-12-04 14:46:22 +01:00
// 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";
2023-01-02 17:34:19 +01:00
import robotsTxt from "astro-robots-txt";
import minify from "./astro-integrations/minify/index.mjs";
2022-12-04 14:46:22 +01:00
// https://astro.build/config
export default defineConfig({
2023-01-02 17:34:19 +01:00
site: "https://hyrousek.tk", //prepisat uwu
integrations: [
tailwind(),
image(),
sitemap(),
compress({
svg: false,
html: false,
}),
2023-01-02 17:34:19 +01:00
prefetch(),
robotsTxt({
policy: [
{
userAgent: "*",
}
],
sitemap: true,
}),
minify(),
],
2022-12-23 14:08:00 +01:00
});