achat-maison-albi-fr/astro.config.mjs
Emil Gulamov addbb5457a Refactor code and restructure directories
In response to the changes made to the directory structure of the project, the code has been refactored to adjust image import paths across various sections. It also involves reorganizing components into appropriate folders based on their roles in the application. Along with this, a new utility file for navigation links has been introduced, and configurations for authorizing remote images have been added to Astro configuration file, suggesting an enhancement in SEO performance.
2024-02-20 07:47:23 +04:00

17 lines
No EOL
575 B
JavaScript

import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import vercelStatic from '@astrojs/vercel/static';
import sitemap from "@astrojs/sitemap";
import compressor from "astro-compressor";
// https://astro.build/config
export default defineConfig({
// https://docs.astro.build/en/guides/images/#authorizing-remote-images
image: {
domains: ["images.unsplash.com"],
},
site: 'https://screwfast.uk',
integrations: [tailwind(), sitemap(), compressor({ gzip: false, brotli: true })],
output: 'static',
adapter: vercelStatic()
});