Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { defineConfig } from 'astro/config';

import cloudflare from '@astrojs/cloudflare';
import mdx from '@astrojs/mdx';
import preact from '@astrojs/preact';
import tailwindcss from '@tailwindcss/vite';
import rehypePrettyCode from 'rehype-pretty-code';
Expand All @@ -10,7 +11,7 @@ import rehypePrettyCode from 'rehype-pretty-code';
export default defineConfig({
output: 'server',
adapter: cloudflare(),
integrations: [preact()],
integrations: [preact(), mdx()],

// We do not use Astro sessions in v1 (no auth). The Cloudflare adapter
// otherwise auto-enables a KV-backed session driver and tries to inject a
Expand Down
Loading
Loading