astro/examples/framework-react/astro.config.mjs

14 lines
551 B
JavaScript
Raw Normal View History

// 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} */ ({
// Enable the React renderer to support React JSX components.
2021-07-20 04:07:49 +00:00
renderers: ['@astrojs/renderer-react'],
});