update to use node adapter

This commit is contained in:
2026-06-29 22:50:48 -04:00
parent c5b919986a
commit 00c896e72c
4 changed files with 9 additions and 760 deletions
+4 -2
View File
@@ -24,11 +24,13 @@ import remarkMath from 'remark-math' /* for latex math support */
import rehypeKatex from 'rehype-katex' /* again, for latex math support */
import remarkGemoji from './src/plugins/remark-gemoji' /* for shortcode emoji support */
import rehypePixelated from './src/plugins/rehype-pixelated' /* Custom plugin to handle pixelated images */
import vercel from '@astrojs/vercel'
import node from '@astrojs/node'
// https://astro.build/config
export default defineConfig({
adapter: vercel(),
adapter: node({
mode: 'standalone',
}),
site: siteConfig.site,
trailingSlash: siteConfig.trailingSlashes ? 'always' : 'never',
prefetch: true,
+4 -756
View File
File diff suppressed because it is too large Load Diff
-1
View File
@@ -19,7 +19,6 @@
"@astrojs/sitemap": "^3.5.1",
"@astrojs/svelte": "^7.2.5",
"@astrojs/ts-plugin": "^1.10.4",
"@astrojs/vercel": "^9.0.4",
"@expo-google-fonts/jetbrains-mono": "^0.4.0",
"@expressive-code/plugin-line-numbers": "^0.41.3",
"@fontsource-variable/jetbrains-mono": "^5.2.6",
+1 -1
View File
@@ -1,5 +1,5 @@
{
"deploy": {
"startCommand": "npx serve dist -l 3000"
"startCommand": "node ./dist/server/entry.mjs"
}
}