Skip to content

Remove unexposed native Vite plugins (html / css / asset family) from main, keep a branch snapshot #9889

Description

@shulaoda

The repo currently ships 19 rolldown_plugin_vite_* crates, but only 13 are wired into the napi binding (crates/rolldown_binding) and listed in the workspace [workspace.dependencies]. The remaining 6 are compiled only because of the crates/* workspace glob — they are never used anywhere and are not exposed to JS/Vite. They have no inter-crate dependencies among the used set and only carry maintenance cost (oxc upgrades, dependency bumps, clippy) without being shipped.

Snapshot first, then remove these crates

  • rolldown_plugin_vite_html (~2207 LOC)
  • rolldown_plugin_vite_css_post (~1078 LOC)
  • rolldown_plugin_vite_asset_import_meta_url (~526 LOC)
  • rolldown_plugin_vite_asset (~302 LOC)
  • rolldown_plugin_vite_css (~205 LOC)
  • rolldown_plugin_vite_html_inline_proxy (~99 LOC)

Plan

  • Create a branch snapshot (archive/native-vite-html-css-asset-plugins) preserving the current state so the work isn't lost
  • Remove the 6 crate directories from main
  • Regenerate Cargo.lock and confirm the workspace still builds

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions