core/astro.config.mjs
Luciano Giacchetta b0492b5dd5
All checks were successful
CodyOps Core Builder / build-conteiner (pull_request) Successful in 2m56s
#5 - No es necesario cambiar la variable ASTRO_SITE por SITE_URL
2025-08-07 16:51:34 -03:00

33 lines
755 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',
},
redirects: {
'/awsdevops': '/carreras/aws-devops',
'/cloudops': '/carreras/cloudops',
'/devops': '/carreras/devops',
},
});