Skip to content

refactor: modular plugins #1145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

refactor: modular plugins #1145

wants to merge 4 commits into from

Conversation

dominikg
Copy link
Member

this grew rather large but sharing for better discussion

goals:

  • split into multiple plugins with clear responsibilities
  • separate plugins for preprocess and compile
  • fully embrace/adopt environment api
  • improve filter use to ensure less work is done in rolldown-vite
  • move plugins out of "pre" phase where possible

note: tests currently fail because raw&direct&custom query support hasn't been adapted to the preprocess/compile split

todo: delete dead code in utilities and move functions into plugins where feasible

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.

1 participant