mirror of
https://github.com/xHyroM/links.git
synced 2024-11-10 02:28:06 +01:00
36 lines
672 B
TypeScript
36 lines
672 B
TypeScript
import { defineConfig } from "astro/config";
|
|
|
|
import tailwind from "@astrojs/tailwind";
|
|
import sitemap from "@astrojs/sitemap";
|
|
import compress from "astro-compress";
|
|
import robotsTxt from "astro-robots-txt";
|
|
|
|
import { SITE } from "./src/config";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: SITE.url,
|
|
output: "static",
|
|
experimental: {
|
|
assets: true,
|
|
},
|
|
integrations: [
|
|
tailwind(),
|
|
sitemap(),
|
|
compress({
|
|
css: true,
|
|
html: true,
|
|
img: false,
|
|
js: true,
|
|
svg: false,
|
|
}),
|
|
robotsTxt({
|
|
policy: [
|
|
{
|
|
userAgent: "*",
|
|
},
|
|
],
|
|
sitemap: true,
|
|
}),
|
|
],
|
|
});
|