kios-webapp/astro/astro.config.mjs

26 lines
620 B
JavaScript
Raw Normal View History

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";
2024-04-02 12:16:28 +00:00
import react from "@astrojs/react";
2024-04-02 12:16:28 +00:00
// https://astro.build/config
export default defineConfig({
compressHTML: true,
build: {
2024-04-02 12:16:28 +00:00
inlineStylesheets: "auto"
},
experimental: {
2024-04-02 12:16:28 +00:00
viewTransitions: true
},
2024-04-02 12:16:28 +00:00
integrations: [tailwind({
config: {
applyBaseStyles: false
}
}), image({
serviceEntryPoint: "@astrojs/image/sharp"
}), prefetch({
selector: "a"
}), sitemap(), react()]
});