kios-webapp/astro/astro.config.mjs
2024-04-02 14:16:28 +02:00

26 lines
620 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";
import react from "@astrojs/react";
// https://astro.build/config
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(), react()]
});