Skip to content

Commit

Permalink
move to cloudflare adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
dcschmid committed Aug 20, 2024
1 parent f77eac1 commit d552178
Show file tree
Hide file tree
Showing 3 changed files with 748 additions and 14 deletions.
4 changes: 2 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { defineConfig } from "astro/config";
import icon from "astro-icon";
import playformCompress from "@playform/compress";
import deno from "@deno/astro-adapter";
import db from "@astrojs/db";
import cloudflare from "@astrojs/cloudflare";

// https://astro.build/config
export default defineConfig({
output: "server",
integrations: [icon(), playformCompress(), db()],
adapter: deno(),
adapter: cloudflare(),
vite: {
optimizeDeps: {
exclude: ["astro:db"],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build --remote",
"preview": "deno run --allow-net --allow-read --allow-env ./dist/server/entry.mjs",
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/cloudflare": "^11.0.4",
"@astrojs/db": "^0.13.2",
"@astrojs/deno": "^5.0.1",
"@astropub/flow": "^0.4.0",
Expand Down
Loading

0 comments on commit d552178

Please sign in to comment.