chore: update for cloudflare

This commit is contained in:
Alejandro Laguna
2025-08-25 19:38:45 +02:00
parent bf9ee11b5f
commit 2284eefae3
3 changed files with 907 additions and 196 deletions

View File

@@ -2,8 +2,7 @@
import { defineConfig } from 'astro/config';
import tailwindcss from "@tailwindcss/vite";
import astroIcon from "astro-icon"
import node from "@astrojs/node";
import cloudflare from '@astrojs/cloudflare';
// https://astro.build/config
export default defineConfig({
@@ -12,7 +11,5 @@ export default defineConfig({
server: {
host: '0.0.0.0'
},
adapter: node({
mode: "standalone",
}),
adapter: cloudflare(),
});

1094
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,7 @@
"start": "node ./dist/server/entry.mjs"
},
"dependencies": {
"@astrojs/node": "^9.3.3",
"@astrojs/cloudflare": "^12.6.5",
"@tailwindcss/vite": "^4.1.11",
"astro": "^5.12.8",
"astro-icon": "^1.1.5",