Impl cloudflare wrangler

- Add astro cloudlfare plugin
- Generate cloudflare deploy configs

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-09 17:21:41 +08:00
parent dc123b4ae4
commit faa00aa16c
5 changed files with 877 additions and 27 deletions

View File

@@ -3,6 +3,8 @@ import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import mdx from '@astrojs/mdx';
import cloudflare from '@astrojs/cloudflare';
// https://astro.build/config
export default defineConfig({
integrations: [
@@ -35,4 +37,6 @@ export default defineConfig({
}),
mdx(),
],
adapter: cloudflare(),
});