A new script for HTML minification has been added, which is run after the build process. Several dependencies were updated, including the Astro framework and its related plugins. The 'astro-critters' package and its usage in the Astro configuration were removed. A minor animation timing change was also made in the [...slug].astro file.
14 lines
No EOL
457 B
JavaScript
14 lines
No EOL
457 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({
|
|
site: 'https://screw-fast.vercel.app',
|
|
integrations: [tailwind(), sitemap(), compressor({ gzip: false, brotli: true })],
|
|
output: 'static',
|
|
adapter: vercelStatic()
|
|
}); |