summaryrefslogtreecommitdiff
path: root/docs/astro.config.mjs
blob: af4fed122b8fa18f72bcd69a8f89be7759fe76d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
  buildOptions: {
    site: 'https://docs.astro.build/',
  },
  renderers: [
    // Our main renderer for frontend components
    '@astrojs/renderer-preact',
    // Needed for Algolia search component
    '@astrojs/renderer-react',
  ],
  vite: {
    resolve: {
      alias: {
        '~': '/src',
        'components': '/src/components',
      }
    }
  }
})