achat-maison-albi-fr/astro.config.mjs
Emil Gulamov c547ce4d7d Add 'astro-compressor' and 'astro-critters' to astro config and packages
This commit introduces 'astro-compressor' and 'astro-critters' to the project's astro configuration file and package files. This is reflected in both the regular package file and the package lock file. The compressor integration has gzip disabled and brotli enabled in the astro configuration.
2024-02-19 08:00:15 +04:00

15 lines
No EOL
508 B
JavaScript

import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import vercelStatic from '@astrojs/vercel/static';
import sitemap from "@astrojs/sitemap";
import critters from "astro-critters";
import compressor from "astro-compressor";
// https://astro.build/config
export default defineConfig({
site: 'https://screw-fast.vercel.app',
integrations: [tailwind(), sitemap(), critters(), compressor({ gzip: false, brotli: true })],
output: 'static',
adapter: vercelStatic()
});