feat: add cloudflare adapter

This commit is contained in:
2024-06-27 16:25:19 +02:00
parent 859896db77
commit 152b5e82d6
3 changed files with 977 additions and 17 deletions

View File

@ -1,9 +1,11 @@
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import markdoc from "@astrojs/markdoc";
import cloudflare from "@astrojs/cloudflare";
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), markdoc()]
output: 'hybrid',
integrations: [tailwind(), markdoc()],
adapter: cloudflare()
});

View File

@ -11,6 +11,7 @@
},
"dependencies": {
"@astrojs/check": "^0.7.0",
"@astrojs/cloudflare": "^11.0.1",
"@astrojs/markdoc": "^0.11.0",
"@astrojs/tailwind": "^5.1.0",
"@fontsource/open-sans": "^5.0.28",

987
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff