Skip to content

Commit 19da5a2

Browse files
committed
feat: switch to vercel?
1 parent ed518f2 commit 19da5a2

File tree

3 files changed

+299
-32
lines changed

3 files changed

+299
-32
lines changed

astro.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import tailwind from '@astrojs/tailwind';
33
import react from '@astrojs/react';
44
import prefetch from '@astrojs/prefetch';
55

6-
import cloudflare from '@astrojs/cloudflare';
6+
import vercel from '@astrojs/vercel/serverless';
77

88
// https://astro.build/config
99
export default defineConfig({
@@ -13,5 +13,5 @@ export default defineConfig({
1313
hybridOutput: true,
1414
assets: true,
1515
},
16-
adapter: cloudflare(),
16+
adapter: vercel(),
1717
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/cloudflare": "^6.3.0",
1413
"@astrojs/prefetch": "0.2.1",
1514
"@astrojs/react": "^2.1.3",
1615
"@astrojs/tailwind": "^3.1.2",
16+
"@astrojs/vercel": "^3.4.0",
1717
"@types/react": "^18.0.21",
1818
"@types/react-dom": "^18.0.6",
1919
"astro": "^2.5.1",

0 commit comments

Comments
 (0)