Reviewed-on: #2 Co-authored-by: Luciano Giacchetta <giacchetta-@outlook.com> Co-committed-by: Luciano Giacchetta <giacchetta-@outlook.com>
29 lines
618 B
JavaScript
29 lines
618 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import markdownIntegration from '@astropub/md'
|
|
import sitemap from '@astrojs/sitemap';
|
|
import mdx from '@astrojs/mdx';
|
|
|
|
|
|
export default defineConfig({
|
|
output: 'static',
|
|
compressHTML: true,
|
|
site: process.env.ASTRO_SITE,
|
|
trailingSlash: 'always',
|
|
integrations: [
|
|
markdownIntegration({
|
|
remarkPlugins: [],
|
|
rehypePlugins: [],
|
|
syntaxHighlight: 'shiki'
|
|
}),
|
|
sitemap(),
|
|
mdx({
|
|
syntaxHighlight: 'shiki',
|
|
shikiConfig: { theme: 'dracula' },
|
|
}),
|
|
],
|
|
build: {
|
|
format: 'directory',
|
|
inlineStylesheets: 'never',
|
|
},
|
|
});
|