feat: switch from vercel -> node SSR
This commit is contained in:
parent
8762f4c856
commit
af47310a93
4 changed files with 3437 additions and 2935 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,5 @@
|
|||
node_modules/
|
||||
dist/
|
||||
.vercel/
|
||||
|
||||
*~
|
||||
*swo
|
||||
|
|
|
@ -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"
|
||||
})
|
||||
});
|
13
package.json
13
package.json
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
6333
pnpm-lock.yaml
6333
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue