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.
15 lines
No EOL
508 B
JavaScript
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()
|
|
}); |