chore: add preact-compat to use React components

This commit is contained in:
Stefan Imhoff
2023-06-07 10:54:20 +02:00
parent 8b17cb19d8
commit 3fc125ea80
3 changed files with 98 additions and 1 deletions

View File

@@ -16,5 +16,5 @@ export default defineConfig({
wrap: true,
},
},
integrations: [mdx(), tailwind(), preact(), astroImageTools],
integrations: [mdx(), tailwind(), preact({ compat: true }), astroImageTools],
});