We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c62cd4 commit 5689fa0Copy full SHA for 5689fa0
2 files changed
astro.config.ts
@@ -14,7 +14,7 @@ export default defineConfig({
14
"/docs": "https://github.com/IgorKowalczyk/github-views?tab=readme-ov-file#-basic-usage",
15
},
16
adapter: deno(),
17
- integrations: [preact(), compress()],
+ integrations: [preact({ compat: true }), compress()],
18
vite: {
19
plugins: [tailwindcss()],
20
package.json
@@ -58,6 +58,10 @@
58
"prettier-plugin-astro": "0.14.1",
59
"prettier-plugin-tailwindcss": "0.6.11"
60
61
+ "overrides": {
62
+ "react": "npm:@preact/compat@latest",
63
+ "react-dom": "npm:@preact/compat@latest"
64
+ },
65
"packageManager": "pnpm@10.6.3",
66
"pnpm": {
67
"onlyBuiltDependencies": [
0 commit comments