diff options
Diffstat (limited to 'examples/blog/astro.config.mjs')
-rw-r--r-- | examples/blog/astro.config.mjs | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/examples/blog/astro.config.mjs b/examples/blog/astro.config.mjs index b769e1743..f682daa06 100644 --- a/examples/blog/astro.config.mjs +++ b/examples/blog/astro.config.mjs @@ -1,14 +1,7 @@ -// Full Astro Configuration API Documentation: -// https://docs.astro.build/reference/configuration-reference +import { defineConfig } from 'astro/config'; -// @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 Preact renderer to support Preact JSX components. +// https://astro.build/config +export default defineConfig({ renderers: ['@astrojs/renderer-preact'], buildOptions: { site: 'https://example.com/', |