mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
20 lines
440 B
JavaScript
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',
|
|
},
|
|
},
|
|
},
|
|
});
|