generated from Ladvace/astro-bento-portfolio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.mjs
28 lines (26 loc) · 866 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
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";
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";
import vercel from "@astrojs/vercel/serverless";
// https://astro.build/config
export default defineConfig({
site: "https://bento.engage-dev.com/",
integrations: [sitemap(), robotsTxt({
sitemap: ["https://bento.engage-dev.com/sitemap-index.xml", "https://bento.engage-dev.com/sitemap-0.xml"]
}), solidJs(), UnoCSS({
injectReset: true
}), icon(), svelte()],
markdown: {
remarkPlugins: [remarkReadingTime]
},
output: "server",
adapter: vercel(),
vite: {
assetsInclude: "**/*.riv"
}
});