2023-05-15 14:52:29 +00:00
|
|
|
import { defineConfig } from "astro/config";
|
|
|
|
import tailwind from "@astrojs/tailwind";
|
|
|
|
import image from "@astrojs/image";
|
2023-05-17 07:18:08 +00:00
|
|
|
import sitemap from "@astrojs/sitemap";
|
|
|
|
import prefetch from "@astrojs/prefetch";
|
2024-04-02 12:16:28 +00:00
|
|
|
import react from "@astrojs/react";
|
2023-05-13 14:38:56 +00:00
|
|
|
|
2024-04-02 12:16:28 +00:00
|
|
|
// https://astro.build/config
|
2023-05-15 14:52:29 +00:00
|
|
|
export default defineConfig({
|
2023-07-11 15:55:41 +00:00
|
|
|
compressHTML: true,
|
|
|
|
build: {
|
2024-04-02 12:16:28 +00:00
|
|
|
inlineStylesheets: "auto"
|
2023-07-11 15:55:41 +00:00
|
|
|
},
|
2023-07-28 15:22:41 +00:00
|
|
|
experimental: {
|
2024-04-02 12:16:28 +00:00
|
|
|
viewTransitions: true
|
2023-07-28 15:22:41 +00:00
|
|
|
},
|
2024-04-02 12:16:28 +00:00
|
|
|
integrations: [tailwind({
|
|
|
|
config: {
|
|
|
|
applyBaseStyles: false
|
|
|
|
}
|
|
|
|
}), image({
|
|
|
|
serviceEntryPoint: "@astrojs/image/sharp"
|
|
|
|
}), prefetch({
|
|
|
|
selector: "a"
|
|
|
|
}), sitemap(), react()]
|
|
|
|
});
|