2023-01-06 20:14:29 +01:00
|
|
|
import { defineConfig } from "astro/config";
|
2023-01-06 20:10:00 +01:00
|
|
|
|
2023-01-06 20:14:29 +01:00
|
|
|
import tailwind from "@astrojs/tailwind";
|
|
|
|
import sitemap from "@astrojs/sitemap";
|
|
|
|
import image from "@astrojs/image";
|
|
|
|
import vercel from "@astrojs/vercel/static";
|
2023-01-06 20:45:30 +01:00
|
|
|
import compress from "astro-compress";
|
2023-01-06 20:14:29 +01:00
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
export default defineConfig({
|
2023-01-06 20:45:30 +01:00
|
|
|
//site: SITE.origin,
|
|
|
|
base: "/",
|
|
|
|
trailingSlash: "never",
|
2023-01-06 20:14:29 +01:00
|
|
|
output: "static",
|
2023-01-06 20:45:30 +01:00
|
|
|
integrations: [
|
|
|
|
tailwind(),
|
|
|
|
sitemap(),
|
|
|
|
image(),
|
|
|
|
compress({
|
|
|
|
css: true,
|
|
|
|
html: true,
|
|
|
|
img: false,
|
|
|
|
js: true,
|
|
|
|
svg: false,
|
|
|
|
|
|
|
|
logger: 1,
|
|
|
|
}),
|
|
|
|
],
|
2023-01-06 20:14:29 +01:00
|
|
|
adapter: vercel(),
|
|
|
|
});
|