-
Notifications
You must be signed in to change notification settings - Fork 3
/
astro.config.mjs
34 lines (31 loc) · 916 Bytes
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import solidJs from "@astrojs/solid-js";
import tailwind from "@astrojs/tailwind";
import expressiveCode from "astro-expressive-code";
import vercel from "@astrojs/vercel";
import { sitemapFix } from "./temp-sitemap-fix";
// https://astro.build/config
export default defineConfig({
site: "https://nize.foo",
integrations: [
tailwind({
applyBaseStyles: false,
}),
expressiveCode({
themes: ["everforest-light", "everforest-dark"],
themeCssSelector: (theme) => `.${theme.type}`,
}),
mdx(),
sitemap(),
solidJs(),
sitemapFix(), // TODO: temporary fix: https://github.com/withastro/adapters/issues/445#issuecomment-2526327882
],
output: "static",
adapter: vercel(),
prefetch: {
prefetchAll: true,
defaultStrategy: "hover",
},
});