aboutsummaryrefslogtreecommitdiff
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-18 00:31:23 +0300
committerValentin Popov <valentin@popov.link>2024-09-18 00:33:49 +0300
commit43f80a7b6ee32f721b5685a206cae78f9f625a12 (patch)
treef6303baea49b1f20a9f9f5e542afb8c0429f62ad /astro.config.mjs
parent5217bcb24ceac2e7d441586edc56feba60b482a9 (diff)
downloadpopov.link-43f80a7b6ee32f721b5685a206cae78f9f625a12.tar.xz
popov.link-43f80a7b6ee32f721b5685a206cae78f9f625a12.zip
Update dependencies and add Cloudflare adapter in configuration
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs3
1 files changed, 3 insertions, 0 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index 1b1e5bf..1f6c4c2 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,9 +1,12 @@
import { defineConfig } from "astro/config";
import { remarkReadingTime } from "./src/plugins/remarkReadingTime";
+import cloudflare from "@astrojs/cloudflare";
import sitemap from "@astrojs/sitemap";
export default defineConfig({
site: "https://popov.link",
+ output: "hybrid",
+ adapter: cloudflare(),
integrations: [sitemap()],
markdown: {
remarkPlugins: [remarkReadingTime],