2024-03-17 17:37:30 +04:00
|
|
|
import { defineConfig } from "astro/config";
|
2024-02-10 03:49:51 +04:00
|
|
|
import tailwind from "@astrojs/tailwind";
|
2024-02-12 07:36:55 +04:00
|
|
|
import sitemap from "@astrojs/sitemap";
|
2024-02-19 08:00:15 +04:00
|
|
|
import compressor from "astro-compressor";
|
2024-03-20 07:46:14 +04:00
|
|
|
|
2025-01-02 19:04:59 +04:00
|
|
|
import mdx from "@astrojs/mdx";
|
|
|
|
|
2024-02-10 03:49:51 +04:00
|
|
|
// https://astro.build/config
|
|
|
|
export default defineConfig({
|
2024-02-20 07:47:23 +04:00
|
|
|
// https://docs.astro.build/en/guides/images/#authorizing-remote-images
|
2024-03-17 17:37:30 +04:00
|
|
|
site: "https://screwfast.uk",
|
2024-02-20 07:47:23 +04:00
|
|
|
image: {
|
2024-03-17 17:37:30 +04:00
|
|
|
domains: ["images.unsplash.com"],
|
2024-02-20 07:47:23 +04:00
|
|
|
},
|
2024-02-22 22:08:45 +04:00
|
|
|
prefetch: true,
|
2025-01-04 23:14:06 +01:00
|
|
|
integrations: [tailwind(), sitemap(), compressor({
|
2025-01-02 19:04:59 +04:00
|
|
|
gzip: false,
|
|
|
|
brotli: true,
|
|
|
|
}), mdx()],
|
2024-02-22 22:08:45 +04:00
|
|
|
experimental: {
|
2024-03-11 21:22:51 +04:00
|
|
|
clientPrerender: true,
|
2024-02-22 22:08:45 +04:00
|
|
|
},
|
2025-01-04 23:14:06 +01:00
|
|
|
});
|