astro-payload-template/astro/astro.config.mjs
2024-05-02 09:39:30 -03:00

30 lines
590 B
JavaScript

import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import image from "@astrojs/image";
import sitemap from "@astrojs/sitemap";
import prefetch from "@astrojs/prefetch";
export default defineConfig({
compressHTML: true,
build: {
inlineStylesheets: "auto",
},
experimental: {
viewTransitions: true,
},
integrations: [
tailwind({
config: {
applyBaseStyles: false,
},
}),
image({
serviceEntryPoint: "@astrojs/image/sharp",
}),
prefetch({
selector: "a",
}),
sitemap(),
],
});