jackmerrill.com/astro.config.mjs

29 lines
590 B
JavaScript

import {
defineConfig,
passthroughImageService,
squooshImageService,
} from "astro/config";
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",
adapter: vercel({
imageService: true,
webAnalytics: {
enabled: true,
},
speedInsights: {
enabled: true,
},
functionPerRoute: true,
}),
// image: {
// service: passthroughImageService(),
// },
});