You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Rolldown being used more and more, Vite and Rollup plugins can be more performant (build speed) by defining hook filters for their used hooks. This will reduce the overhead for communication between the JavaScript and Rust runtimes.
As the hook filters come at "no cost" and applying them is often straightforward, given that some kind of filter is happening in the hook functions, which has to be ported out of the function to the filter object, I thought it could be a great umbrella issue for e18e.
TheAlexLichter
changed the title
Add hook filter rules to vite and rollup plugins
Add hook filter rules to vite, rollup and unplugin plugins
May 10, 2025
Uh oh!
There was an error while loading. Please reload this page.
With Rolldown being used more and more, Vite and Rollup plugins can be more performant (build speed) by defining hook filters for their used hooks. This will reduce the overhead for communication between the JavaScript and Rust runtimes.
Hook filters are supported in Vite 6.3.0+ and Rollup 4.38.0+, as well as in unplugin
As the hook filters come at "no cost" and applying them is often straightforward, given that some kind of filter is happening in the hook functions, which has to be ported out of the function to the
filter
object, I thought it could be a great umbrella issue for e18e.Example PRs:
api.options
and add filter vitejs/vite-plugin-vue#582The text was updated successfully, but these errors were encountered: