2021-11-11 12:09:48 -05:00
|
|
|
// @ts-check
|
|
|
|
export default /** @type {import('astro').AstroUserConfig} */ ({
|
2021-07-15 14:13:35 -04:00
|
|
|
buildOptions: {
|
2021-07-16 07:59:46 -03:00
|
|
|
site: 'https://docs.astro.build/',
|
2021-07-15 14:13:35 -04:00
|
|
|
},
|
2021-07-30 22:39:15 -07:00
|
|
|
renderers: [
|
|
|
|
// Our main renderer for frontend components
|
2021-07-31 05:41:22 +00:00
|
|
|
'@astrojs/renderer-preact',
|
2021-07-30 22:39:15 -07:00
|
|
|
// Needed for Algolia search component
|
2021-07-31 05:41:22 +00:00
|
|
|
'@astrojs/renderer-react',
|
|
|
|
],
|
2021-11-11 12:09:48 -05:00
|
|
|
vite: {
|
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
'~': '/src',
|
|
|
|
'components': '/src/components',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|