jackmerrill.com/astro.config.mjs

29 lines
590 B
JavaScript
Raw Permalink Normal View History

2024-08-27 21:14:30 -07:00
import {
defineConfig,
passthroughImageService,
squooshImageService,
} from "astro/config";
2023-10-31 16:22:25 -07:00
import tailwind from "@astrojs/tailwind";
import react from "@astrojs/react";
import vercel from "@astrojs/vercel/serverless";
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), react()],
output: "hybrid",
2023-10-31 19:29:01 -07:00
adapter: vercel({
2024-08-27 21:39:17 -07:00
imageService: true,
2023-10-31 19:29:01 -07:00
webAnalytics: {
enabled: true,
},
speedInsights: {
enabled: true,
},
functionPerRoute: true,
}),
2024-08-27 21:39:17 -07:00
// image: {
// service: passthroughImageService(),
// },
2023-10-31 16:22:25 -07:00
});