popov.link/astro.config.mjs

22 lines
438 B
JavaScript
Raw Normal View History

2024-09-05 00:16:37 +03:00
import { defineConfig } from "astro/config";
2024-09-06 11:21:27 +03:00
import { remarkReadingTime } from "./src/plugins/remarkReadingTime";
2024-09-05 17:55:42 +03:00
import sitemap from "@astrojs/sitemap";
2024-09-05 00:16:37 +03:00
2024-09-05 00:23:21 +03:00
export default defineConfig({
site: "https://popov.link",
2024-10-24 22:54:32 +03:00
output: "static",
integrations: [sitemap()],
2024-09-18 03:41:02 +03:00
build: {
inlineStylesheets: "always",
},
2024-09-06 11:21:27 +03:00
markdown: {
remarkPlugins: [remarkReadingTime],
},
2024-09-13 01:10:31 +03:00
redirects: {
"/blog": {
destination: "/",
status: 301,
},
},
2024-09-05 00:23:21 +03:00
});