astro-payload-test/astro/astro.config.mjs

30 lines
572 B
JavaScript
Raw Normal View History

2024-05-17 22:32:32 +00:00
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",
},
2024-05-19 06:24:00 +00:00
server: {
port: 3000
},
2024-05-17 22:32:32 +00:00
integrations: [
tailwind({
config: {
applyBaseStyles: false,
},
}),
image({
serviceEntryPoint: "@astrojs/image/sharp",
}),
prefetch({
selector: "a",
}),
sitemap(),
],
});