mirror of
https://github.com/kremalicious/blog.git
synced 2024-06-28 16:48:00 +02:00
29 lines
846 B
JavaScript
29 lines
846 B
JavaScript
import { defineConfig } from 'astro/config'
|
|
import remarkLeadParagraph from './src/lib/remark-lead-paragraph.mjs'
|
|
import remarkToc from './src/lib/remark-toc.mjs'
|
|
import react from '@astrojs/react'
|
|
|
|
// https://astro.build/config
|
|
/** @type {import('astro/config').AstroUserConfig} */
|
|
export default defineConfig({
|
|
site: 'https://kremalicious.com',
|
|
output: 'static',
|
|
markdown: {
|
|
remarkPlugins: [remarkLeadParagraph, remarkToc],
|
|
shikiConfig: {
|
|
// https://github.com/shikijs/shiki/blob/main/docs/themes.md
|
|
theme: 'github-dark-dimmed',
|
|
langs: [],
|
|
wrap: true
|
|
}
|
|
},
|
|
vite: {
|
|
resolve: {
|
|
// for making content -> src/content symlink work
|
|
// https://www.eliostruyf.com/symlink-content-astro-portability/#fix-the-content-issues
|
|
preserveSymlinks: true
|
|
}
|
|
},
|
|
integrations: [react()]
|
|
})
|