Shared Preact/React integration wrapper for Astro projects in the monorepo.
- Provides a consistent Preact integration with React compatibility mode enabled
- Centralizes integration configuration across all apps
In your Astro config:
import { preactIntegration } from "@repo/astro-preact/integration";
export default defineConfig({
integrations: [preactIntegration()],
});Apps using this package still need to install the required dependencies:
@astrojs/preactpreactreact&react-dom@types/react&@types/react-dom
This package provides a shared integration wrapper to ensure consistent configuration across the monorepo.