mirror of
https://github.com/lbr77/blog-astro.git
synced 2026-04-10 09:39:11 +00:00
platform
This commit is contained in:
@@ -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(),
|
||||
})
|
||||
Reference in New Issue
Block a user