This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
2023-08-19 19:04:23 +00:00
|
|
|
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'
|
2023-06-01 04:28:04 +00:00
|
|
|
|
2023-05-24 17:57:59 +00:00
|
|
|
// https://astro.build/config
|
2023-05-24 18:10:24 +00:00
|
|
|
export default defineConfig({
|
2023-08-19 19:04:23 +00:00
|
|
|
site: 'https://ethanreece.com',
|
|
|
|
integrations: [
|
|
|
|
tailwind(),
|
|
|
|
astroImageTools,
|
|
|
|
robotsTxt(),
|
|
|
|
sitemap(),
|
|
|
|
prefetch(),
|
|
|
|
partytown(),
|
|
|
|
mdx({
|
|
|
|
syntaxHighlight: 'shiki',
|
|
|
|
shikiConfig: { theme: 'dracula' },
|
|
|
|
rehypePlugins: [
|
2023-08-19 20:10:02 +00:00
|
|
|
[
|
|
|
|
rehypeExternalLinks,
|
|
|
|
{
|
|
|
|
target: '_blank',
|
|
|
|
rel: ['noopener', 'noreferrer'],
|
|
|
|
},
|
|
|
|
],
|
2023-08-19 19:04:23 +00:00
|
|
|
],
|
|
|
|
}),
|
|
|
|
icon({
|
|
|
|
include: {
|
|
|
|
heroicons: ['*'],
|
|
|
|
'fa-brands': ['*'],
|
|
|
|
'simple-icons': ['*'],
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
compress(),
|
|
|
|
],
|
|
|
|
})
|