Skip to content

Commit

Permalink
🏗️ testing the vercel SSR adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
jamerrq committed Jan 31, 2024
1 parent 00b275c commit a0e35ab
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ pnpm-debug.log*

# macOS-specific files
.DS_Store

# vercel files
.vercel
10 changes: 6 additions & 4 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { defineConfig } from 'astro/config'
import tailwind from '@astrojs/tailwind'
import deno from '@astrojs/deno'
import robotsTxt from 'astro-robots-txt'
import preact from '@astrojs/preact'
import vercel from "@astrojs/vercel/serverless"

// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), robotsTxt(), preact()],
adapter: deno(),
output: 'server',
adapter: vercel({
imageService: true
}),
output: 'hybrid',
i18n: {
locales: ['en', 'es'],
defaultLocale: 'en',
Expand All @@ -17,7 +19,7 @@ export default defineConfig({
strategy: 'pathname'
}
},
site: 'https://jamerrq.deno.dev/',
site: 'https://jamerrq-dev.vercel.app/',
image: {
domains: ['https://github.com/']
}
Expand Down
Binary file modified bun.lockb
Binary file not shown.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
"version": "0.0.1",
"dependencies": {
"@astrojs/check": "^0.3.4",
"@astrojs/deno": "^5.0.1",
"@astrojs/preact": "^3.1.0",
"@astrojs/tailwind": "^5.0.4",
"@astrojs/vercel": "^7.0.2",
"@fontsource/merriweather": "^5.0.8",
"astro": "4.0.8",
"astro-robots-txt": "^1.0.0",
"preact": "^10.19.3",
"sharp": "^0.33.2",
"simple-icons": "^11.1.0",
"tailwindcss": "^3.4.0",
"typescript": "^5.3.3"
Expand Down

0 comments on commit a0e35ab

Please sign in to comment.