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-18 00:31:23 +03:00
|
|
|
import cloudflare from "@astrojs/cloudflare";
|
2024-09-18 02:24:24 +03:00
|
|
|
import icon from "astro-icon";
|
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-09-18 00:31:23 +03:00
|
|
|
output: "hybrid",
|
2024-09-18 01:27:55 +03:00
|
|
|
adapter: cloudflare({
|
|
|
|
imageService: "compile",
|
|
|
|
}),
|
2024-09-18 02:24:24 +03:00
|
|
|
integrations: [icon(), 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
|
|
|
});
|