Roadmap to becoming a developer in 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
768 B

2 years ago
// https://astro.build/config
2 years ago
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
import rehypeExternalLinks from 'rehype-external-links';
import sitemap from '@astrojs/sitemap';
2 years ago
import critters from 'astro-critters';
import { serializeSitemap, shouldIndexPage } from './sitemap.mjs';
2 years ago
// https://astro.build/config
export default defineConfig({
site: 'https://roadmap.sh',
markdown: {
rehypePlugins: [
[
rehypeExternalLinks,
{
target: '_blank',
},
],
],
},
integrations: [
tailwind({
config: {
applyBaseStyles: false,
},
}),
sitemap({
filter: shouldIndexPage,
serialize: serializeSitemap,
}),
// critters(),
],
});