astro/docs/astro.config.mjs

21 lines
438 B
JavaScript
Raw Normal View History

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