-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
36 lines (35 loc) · 961 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
35
36
import mdx from "@astrojs/mdx";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import icon from "astro-icon";
import { defineConfig } from "astro/config";
import pagefind from "astro-pagefind";
import vercel from "@astrojs/vercel/serverless";
export default defineConfig({
site: "https://mango-flower-0edf37903.4.azurestaticapps.net/",
integrations: [
mdx({
syntaxHighlight: "shiki",
shikiConfig: {
theme: "github-dark-dimmed",
},
gfm: true,
}),
icon(),
sitemap(),
react(),
pagefind({
// Escludi la classe ai.astro (e qualsiasi percorso derivato da essa)
exclude: ["/ai"],
}),
tailwind({
applyBaseStyles: false,
}),
],
output: "hybrid", // Necessario per supportare la pagina dinamica ai.astro
adapter: vercel({
analytics: true, // Attiva il tracciamento analitico su Vercel
}),
},
);