summaryrefslogtreecommitdiff
path: root/docs/astro.config.mjs
blob: 4a1bc99f6084ed179cfa2037b7f44d1afe9e2f43 (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',
      },
    },
  },
});