feat: switch from vercel -> node SSR

This commit is contained in:
Ayo Ayco 2024-07-27 07:57:42 +02:00
parent 8762f4c856
commit af47310a93
4 changed files with 3437 additions and 2935 deletions

1
.gitignore vendored
View file

@ -1,6 +1,5 @@
node_modules/
dist/
.vercel/
*~
*swo

View file

@ -1,10 +1,11 @@
import { defineConfig } from "astro/config";
import vercel from '@astrojs/vercel/serverless';
import prefetch from "@astrojs/prefetch";
import node from "@astrojs/node";
// https://astro.build/config
export default defineConfig({
output: "server",
integrations: [prefetch()],
adapter: vercel()
adapter: node({
mode: "standalone"
})
});

View file

@ -16,15 +16,14 @@
"publish:minor": "npm version minor && npm publish --access public"
},
"devDependencies": {
"astro": "^3.2.0"
"astro": "^4.12.2"
},
"dependencies": {
"@astrojs/prefetch": "^0.4.0",
"@astrojs/vercel": "^5.0.2",
"@ayco/astro-resume": "^0.3.9",
"@extractus/article-extractor": "^8.0.2",
"@astrojs/node": "^8.3.2",
"@ayco/astro-resume": "^0.4.0",
"@extractus/article-extractor": "^8.0.10",
"astro-iconify": "^1.2.0",
"sass": "^1.68.0",
"ultrahtml": "^1.5.2"
"sass": "^1.77.8",
"ultrahtml": "^1.5.3"
}
}

File diff suppressed because it is too large Load diff