Files
caperren-com/astro.config.mjs
Corwin Perren 47e10ba05f
Some checks failed
Build and Test - Staging / test (pull_request) Failing after 2m10s
Build and Test - Staging / build_and_push (pull_request) Has been skipped
Build and Test - Staging / deploy_staging (pull_request) Has been skipped
Enabled astro preload, added video components, videos for software lead, part of content for software lead
2025-11-10 01:06:31 -08:00

25 lines
635 B
JavaScript

// @ts-check
import {defineConfig} from 'astro/config';
import sitemap from "@astrojs/sitemap";
import tailwindcss from "@tailwindcss/vite";
import {siteLayout, getPaths} from "./src/data/site-layout.ts";
const disabledPaths = getPaths(siteLayout, [], true)
// https://astro.build/config
export default defineConfig({
site: "https://caperren.com",
prefetch: {
prefetchAll: true
},
integrations: [
sitemap({
filter: (pagePath) =>
!disabledPaths.some(disabledPath => pagePath.includes(disabledPath))
})
],
vite: {
plugins: [tailwindcss()],
},
});