Skip to content
Compare

OpenComponents Preact Compiler vs Rsbuild Preact Plugin

Side-by-side compatibility, runtime support and editorial notes for Preact projects.

Native PreactActive
OpenComponents Preact Compiler

Compiler for building Preact components in the OpenComponents template system.

npmoc-template-preact-compiler
Category
Build Tools
Compatibility
Native Preact
Maintenance
Active
Runtime
TypeScriptSSRNo islandsESM
Verified
Not yet verified
Tested with
Not documented
License
MIT
Bundle size
Not documented
Limitations
  • Only useful inside the OpenComponents architecture; it is not a general-purpose Preact compiler or Vite preset.
  • The package depends on the OC template and Vite compiler lifecycle, so upgrades should be coordinated across the OpenComponents packages.
Score
Directory score78/100
Compatibility35/35
Maintenance20/20
TypeScript8/10
SSR10/10
Islands0/10
ESM5/5
Verification0/10
View OpenComponents Preact Compiler profile
Native PreactActive
Rsbuild Preact Plugin

Official Rsbuild plugin for Preact JSX, compat aliases and Prefresh HMR.

npm@rsbuild/plugin-preact
Category
Build Tools
Compatibility
Native Preact
Maintenance
Active
Runtime
TypeScriptSSRNo islandsESM
Verified
Not yet verified
Tested with
Not documented
License
MIT
Bundle size
Not documented
Limitations
  • @rsbuild/plugin-preact v2 requires Rsbuild 2.x; use v1 on Rsbuild 1.x projects.
Score
Directory score80/100
Compatibility35/35
Maintenance20/20
TypeScript10/10
SSR10/10
Islands0/10
ESM5/5
Verification0/10
View Rsbuild Preact Plugin profile

At a glance

AttributeOpenComponents Preact CompilerRsbuild Preact Plugin
CompatibilityNative PreactNative Preact
MaintenanceActiveActive
TypeScriptBundled typesNative TypeScript
SSRSSR supportedSSR supported
IslandsNoNo
Last verifiedNot yet verifiedNot yet verified
AI auditNot auditedNot audited