chore: update for cloudflare
This commit is contained in:
@@ -2,8 +2,7 @@
|
|||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
import tailwindcss from "@tailwindcss/vite";
|
import tailwindcss from "@tailwindcss/vite";
|
||||||
import astroIcon from "astro-icon"
|
import astroIcon from "astro-icon"
|
||||||
|
import cloudflare from '@astrojs/cloudflare';
|
||||||
import node from "@astrojs/node";
|
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
@@ -12,7 +11,5 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
host: '0.0.0.0'
|
host: '0.0.0.0'
|
||||||
},
|
},
|
||||||
adapter: node({
|
adapter: cloudflare(),
|
||||||
mode: "standalone",
|
|
||||||
}),
|
|
||||||
});
|
});
|
||||||
|
|||||||
1094
package-lock.json
generated
1094
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -13,7 +13,7 @@
|
|||||||
"start": "node ./dist/server/entry.mjs"
|
"start": "node ./dist/server/entry.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^9.3.3",
|
"@astrojs/cloudflare": "^12.6.5",
|
||||||
"@tailwindcss/vite": "^4.1.11",
|
"@tailwindcss/vite": "^4.1.11",
|
||||||
"astro": "^5.12.8",
|
"astro": "^5.12.8",
|
||||||
"astro-icon": "^1.1.5",
|
"astro-icon": "^1.1.5",
|
||||||
|
|||||||
Reference in New Issue
Block a user