0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/docs/astro.config.mjs
2021-11-11 17:11:01 +00:00

20 lines
440 B
JavaScript

// @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',
},
},
},
});