rollup-plugin-preact
JSON →Rollup plugin that automatically resolves and aliases React imports to Preact/Preact Compat in Rollup bundles. Current stable version 0.5.2. Configurable options include usePreactX for Preact X, noPropTypes, noReactIs, noEnv flags to remove unnecessary compat code, and custom aliasModules. It simplifies migrating from React to Preact by handling module resolution and compat aliasing.
Traffic · last 30 days stale · no recent hits
total hits 10
actors 4 distinct systems
last hit 25d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom
Resources
API endpoints
full doc /v1/registry/rollup-plugin-preact
compatibility /v1/registry/rollup-plugin-preact/compatibility