Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34
Add rolldown-vite support#128
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Add rolldown-vite support#128
Uh oh!
There was an error while loading.Please reload this page.
Conversation
davidmyersdev commentedJul 5, 2025
@sapphi-red I fixed an issue with the PNPM install on CI, but it looks like the new workflow is failing for another reason now. Mind taking a look at that? |
sapphi-red commentedJul 6, 2025
@davidmyersdev |
davidmyersdev commentedJul 6, 2025
That did it! Thank you! |
ca49ba3 intodavidmyersdev:mainUh oh!
There was an error while loading.Please reload this page.
davidmyersdev commentedJul 6, 2025
Released in |
While this plugin mostly works withrolldown-vite, there are a few areas where it could leverage Rolldown's built-in features to improve performance.
This PR includes the following changes:
build.rollupOptions.injectfor rolldown-vite: this avoids the extra parsing step by@rollup/plugin-injectand can improve perf.bannerhook of a Rollup plugin foroptimizeDeps.rollupOptionsinstead of thebanneroption inoptimizeDeps.esbuildOptions: most options inoptimizeDeps.esbuildOptionsare mapped tooptimizeDeps.rollupOptions, butbanneris not due to incompatibility.I tested this withhttps://github.com/owncloud/web1 and it reduced the build time ~3.5s (~25%).
closevitejs/rolldown-vite#133
Footnotes
I used sass-embedded instead of sass locally↩