This commit is contained in:
2025-11-28 16:10:53 +08:00
parent 8b9feeeb10
commit 0b0650f374
3 changed files with 166 additions and 9 deletions

View File

@@ -18,9 +18,14 @@ import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers'
import tailwindcss from '@tailwindcss/vite'
import node from '@astrojs/node';
import vercel from '@astrojs/vercel';
export default defineConfig({
site: 'https://nvme0n1p.dev',
output: 'server',
integrations: [
expressiveCode({
themes: ['github-light', 'github-dark'],
@@ -70,16 +75,20 @@ export default defineConfig({
sitemap(),
icon(),
],
vite: {
plugins: [tailwindcss()],
},
server: {
port: 1234,
host: true,
},
devToolbar: {
enabled: false,
},
markdown: {
syntaxHighlight: false,
rehypePlugins: [
@@ -104,4 +113,6 @@ export default defineConfig({
],
remarkPlugins: [remarkMath, remarkEmoji],
},
})
adapter: vercel(),
})