-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
perf(worker): rebuild only when affected #20559
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
perf(worker): rebuild only when affected #20559
Conversation
|
/ecosystem-ci run |
commit: |
|
📝 Ran ecosystem CI on
✅ astro, quasar, ladle, analogjs, histoire, qwik, sveltekit, rakkas, one, marko, react-router, nuxt, storybook, vite-setup-catalogue, vite-plugin-react, vite-plugin-svelte, vite-plugin-vue, vite-plugin-rsc, vitepress, vitest, vite-plugin-pwa, vuepress, vite-plugin-cloudflare, unocss, waku |
bluwy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
Description
Instead of building the worker every time any file is changed (before this PR
shouldTransformCachedModulereturns true), this PR makes the worker plugin to track the watched files so that the worker is re-built only when the content is changed.This PR was initiated by the fact that the usage of
shouldTransformCachedModulemakes it difficult to make the plugins performant (rolldown/rolldown#4389).refs #11919, #14712