Skip to content

v1.0.8

@birdnamoo birdnamoo tagged this 21 May 06:53
Adds an optional exclude field to PluginOptions that accepts glob
patterns (relative to project root). Matched files are filtered out
before wrapper generation, allowing consumers to exclude components
with optional peer dependencies from the react/index.js barrel.

Use case: @iyulab/chat-components excludes UChartView so that
chart.js-free Next.js/Turbopack builds do not fail.
Assets 2
Loading