diff options
Diffstat (limited to 'examples/framework-preact/astro.config.mjs')
-rw-r--r-- | examples/framework-preact/astro.config.mjs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/framework-preact/astro.config.mjs b/examples/framework-preact/astro.config.mjs index a024b64b4..b1c8d1150 100644 --- a/examples/framework-preact/astro.config.mjs +++ b/examples/framework-preact/astro.config.mjs @@ -1,7 +1,8 @@ import { defineConfig } from 'astro/config'; +import preact from '@astrojs/preact'; // https://astro.build/config export default defineConfig({ - // Enable the Preact renderer to support Preact JSX components. - renderers: ['@astrojs/renderer-preact'], + // Enable Preact to support Preact JSX components. + integrations: [preact()], }); |