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";
|
2023-05-13 14:38:56 +00:00
|
|
|
|
2023-05-15 14:52:29 +00:00
|
|
|
export default defineConfig({
|
2023-07-11 15:55:41 +00:00
|
|
|
compressHTML: true,
|
|
|
|
build: {
|
|
|
|
inlineStylesheets: "auto",
|
|
|
|
},
|
2023-07-28 15:22:41 +00:00
|
|
|
experimental: {
|
|
|
|
viewTransitions: true,
|
|
|
|
},
|
2023-05-15 14:52:29 +00:00
|
|
|
integrations: [
|
2023-05-15 15:48:17 +00:00
|
|
|
tailwind({
|
2023-05-17 07:18:08 +00:00
|
|
|
config: {
|
|
|
|
applyBaseStyles: false,
|
|
|
|
},
|
2023-05-15 15:48:17 +00:00
|
|
|
}),
|
2023-05-15 14:52:29 +00:00
|
|
|
image({
|
|
|
|
serviceEntryPoint: "@astrojs/image/sharp",
|
|
|
|
}),
|
2023-08-15 19:10:50 +00:00
|
|
|
prefetch({
|
|
|
|
selector: "a",
|
|
|
|
}),
|
2023-05-17 07:18:08 +00:00
|
|
|
sitemap(),
|
2023-05-15 14:52:29 +00:00
|
|
|
],
|
|
|
|
});
|