31 lines
775 B
JavaScript
31 lines
775 B
JavaScript
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";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: "https://toastiet0ast.com/",
|
|
integrations: [
|
|
sitemap(),
|
|
robotsTxt({
|
|
sitemap: [
|
|
"https://toastiet0ast.com/sitemap-index.xml",
|
|
"https://toastiet0ast.com/sitemap-0.xml",
|
|
],
|
|
}),
|
|
solidJs(),
|
|
UnoCSS({ injectReset: true }),
|
|
icon(),
|
|
svelte(),
|
|
],
|
|
markdown: {
|
|
remarkPlugins: [remarkReadingTime],
|
|
}
|
|
});
|