Skip to content

Commit

Permalink
chore: type check astro config
Browse files Browse the repository at this point in the history
  • Loading branch information
techfg committed Dec 27, 2024
1 parent d885718 commit f380083
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import { rehypeAutoLink, rehypeExternalLink } from './plugins/rehype.ts';
import rehypeSlug from 'rehype-slug';
import rehypeAstroRelativeMarkdownLinks from 'astro-rehype-relative-markdown-links';
import { ensureLeadingSlash } from './node_modules/@astrojs/starlight/utils/path';

/** @type {{ base: string, site: string, trailingSlash: import('astro').AstroConfig["trailingSlash"] }} */
const sharedConfig = {
// astro hasn't made import.meta.env available yet so we need
// to use process to obtain variables
Expand Down

0 comments on commit f380083

Please sign in to comment.