forked from Ladvace/astro-bento-portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
37 lines (34 loc) · 919 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
37
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";
import netlify from "@astrojs/netlify";
import robotsTxt from "astro-robots-txt";
import UnoCSS from "@unocss/astro";
import icon from "astro-icon";
import solidJs from "@astrojs/solid-js";
import { remarkReadingTime } from "./src/lib/ remark-reading-time.mjs";
import svelte from "@astrojs/svelte";
// https://astro.build/config
export default defineConfig({
site: "https://gianmarco.xyz/",
integrations: [
sitemap(),
robotsTxt({
sitemap: [
"https://gianmarco.xyz/sitemap-index.xml",
"https://gianmarco.xyz/sitemap-0.xml",
],
}),
solidJs(),
UnoCSS({ injectReset: true }),
icon(),
svelte(),
],
markdown: {
remarkPlugins: [remarkReadingTime],
},
output: "server",
adapter: netlify({ edgeMiddleware: true }),
vite: {
assetsInclude: "**/*.riv",
},
});