toastie-site/astro.config.mjs

35 lines
882 B
JavaScript
Raw Normal View History

2024-11-26 21:10:42 +00:00
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({
2024-11-28 20:24:33 +00:00
site: "https://toastiet0ast.com/",
2024-11-26 21:10:42 +00:00
integrations: [
sitemap(),
robotsTxt({
sitemap: [
2024-11-28 20:24:33 +00:00
"https://toastiet0ast.com/sitemap-index.xml",
"https://toastiet0ast.com/sitemap-0.xml",
2024-11-26 21:10:42 +00:00
],
}),
solidJs(),
UnoCSS({ injectReset: true }),
icon(),
svelte(),
],
markdown: {
remarkPlugins: [remarkReadingTime],
},
output: "server",
adapter: netlify({ edgeMiddleware: true }),
});