43 lines
1.1 KiB
JavaScript
43 lines
1.1 KiB
JavaScript
import mdx from '@astrojs/mdx'
|
|
import partytown from '@astrojs/partytown'
|
|
import prefetch from '@astrojs/prefetch'
|
|
import sitemap from '@astrojs/sitemap'
|
|
import tailwind from '@astrojs/tailwind'
|
|
import { defineConfig } from 'astro/config'
|
|
import compress from 'astro-compress'
|
|
import icon from 'astro-icon'
|
|
import { astroImageTools } from 'astro-imagetools'
|
|
import robotsTxt from 'astro-robots-txt'
|
|
import rehypeExternalLinks from 'rehype-external-links'
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: 'https://ethanreece.com',
|
|
integrations: [
|
|
tailwind(),
|
|
astroImageTools,
|
|
robotsTxt(),
|
|
sitemap(),
|
|
prefetch(),
|
|
partytown(),
|
|
mdx({
|
|
syntaxHighlight: 'shiki',
|
|
shikiConfig: { theme: 'dracula' },
|
|
rehypePlugins: [
|
|
rehypeExternalLinks,
|
|
{
|
|
target: '_blank',
|
|
},
|
|
],
|
|
}),
|
|
icon({
|
|
include: {
|
|
heroicons: ['*'],
|
|
'fa-brands': ['*'],
|
|
'simple-icons': ['*'],
|
|
},
|
|
}),
|
|
compress(),
|
|
],
|
|
})
|