kios-webapp/astro/astro.config.mjs
Max Schmidt 6c14f1cbad Use new ViewTransition
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-07-28 17:22:41 +02:00

28 lines
562 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",
}),
sitemap(),
prefetch(),
],
});