mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
17 lines
663 B
JavaScript
17 lines
663 B
JavaScript
// Full Astro Configuration API Documentation:
|
|
// https://docs.astro.build/reference/configuration-reference
|
|
|
|
// @type-check enabled!
|
|
// VSCode and other TypeScript-enabled text editors will provide auto-completion,
|
|
// helpful tooltips, and warnings if your exported object is invalid.
|
|
// You can disable this by removing "@ts-check" and `@type` comments below.
|
|
|
|
// @ts-check
|
|
export default /** @type {import('astro').AstroUserConfig} */ ({
|
|
renderers: [
|
|
// Enable the Preact renderer to support Preact JSX components.
|
|
'@astrojs/renderer-preact',
|
|
// Enable the React renderer, for the Algolia search component
|
|
'@astrojs/renderer-react',
|
|
],
|
|
});
|