mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-03-12 17:51:53 +08:00
34 lines
691 B
JavaScript
34 lines
691 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import { shouldIndexPage } from './src/lib/sitemap';
|
|
|
|
// https://astro.build/config
|
|
import tailwind from '@astrojs/tailwind';
|
|
import rehypeExternalLinks from 'rehype-external-links';
|
|
|
|
// https://astro.build/config
|
|
import sitemap from '@astrojs/sitemap';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: 'https://roadmap.sh',
|
|
markdown: {
|
|
rehypePlugins: [
|
|
[
|
|
rehypeExternalLinks,
|
|
{
|
|
target: '_blank',
|
|
},
|
|
],
|
|
],
|
|
},
|
|
integrations: [
|
|
tailwind({
|
|
config: {
|
|
applyBaseStyles: false,
|
|
},
|
|
}),
|
|
sitemap({
|
|
filter: shouldIndexPage,
|
|
}),
|
|
],
|
|
}); |