unjs / unjs/unplugin

Support composable plugin filters via `@rolldown/pluginutils`

Open
#508 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
3.6k
Forks
156
PR merge metrics
No merged PRs in 30d

Description

Describe the feature

Add @rolldown/pluginutils as optional dependency so it can be used for more complex filters and alter the types + implementation so these can be accepted.

Unplugin authors still have to manually install the dependency to avoid version coupling of unplugin and the pluginutils (e.g. major bump due to breaking change).

Additional information
  • Would you be willing to help implement this feature?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing package metadata, filter types, and filter implementation in unplugin, then compare them with the composable filter API in packages/pluginutils/. Update the optional dependency, types, and implementation so composable filters are accepted, and verify that the supported plugin integrations still type-check and pass their tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.