core/astro.config.mjs

36 lines
856 B
JavaScript
Raw Permalink Normal View History

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',
2025-08-20 19:16:30 -03:00
image: {
domains: ['assets.codyops.com','assets.codyops.com.br','assets.codyops.com.es'],
},
integrations: [
markdownIntegration({
remarkPlugins: [],
rehypePlugins: [],
syntaxHighlight: 'shiki'
}),
sitemap(),
mdx({
syntaxHighlight: 'shiki',
shikiConfig: { theme: 'dracula' },
}),
],
build: {
format: 'directory',
inlineStylesheets: 'never',
},
redirects: {
'/awsdevops': '/carreras/aws-devops',
'/cloudops': '/carreras/cloudops',
'/devops': '/carreras/devops',
},
});