Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@abbasyed
Copy link
Contributor

Fixes #20696

Summary

Added plugin hook filter information from the Rolldown guide to the Plugin Authors guide where it belongs.

Changes

  • Added hook filter documentation to the "Filtering (Include/Exclude Pattern)" section
  • Moved relevant content from /guide/rolldown.html#hook-filter-feature to /guide/api-plugin.html#filtering-include-exclude-pattern
  • Maintained existing documentation style and formatting

This makes the hook filter feature more discoverable for plugin authors who are reading the Plugin Authors guide.

docs/guide/api-plugin.md Outdated Show resolved Hide resolved
docs/guide/api-plugin.md Outdated Show resolved Hide resolved
docs/guide/api-plugin.md Outdated Show resolved Hide resolved
@TheAlexLichter
Copy link
Member

Also to avoid duplicate content, you might want to remove it from the Rolldown guide and instead link to the new content (leave a few sentences to describe what the hook filters are there for in context with with Rolldown)

@abbasyed
Copy link
Contributor Author

Also to avoid duplicate content, you might want to remove it from the Rolldown guide and instead link to the new content (leave a few sentences to describe what the hook filters are there for in context with with Rolldown)

@TheAlexLichter fixed

docs/guide/api-plugin.md Outdated Show resolved Hide resolved
docs/guide/rolldown.md Outdated Show resolved Hide resolved
- Credit Rolldown for introducing hook filter feature with link
- Clarify backward compatibility requirements for Rollup/Vite
- Replace utility functions section with reference to main hook filters section
- Remove redundant @rolldown/pluginutils example
@abbasyed abbasyed force-pushed the docs/add-plugin-hook-filter-info branch from dedbe84 to 348c410 Compare September 17, 2025 13:25
docs/guide/api-plugin.md Show resolved Hide resolved
docs/guide/rolldown.md Show resolved Hide resolved
@abbasyed
Copy link
Contributor Author

abbasyed commented Oct 2, 2025

@bluwy any updates on this?

Copy link
Member

@bluwy bluwy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@bluwy bluwy merged commit d395e82 into vitejs:main Oct 2, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add plugin hook filter info to Plugin Authors guide

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.