Open
Description
Describe the bug
I migrated my Vite 6.3.5 config to rolldown-vite to try it out. After what I thought would be a set of minimal changes, I was met with:
You have set `optimizeDeps.esbuildOptions` but this options is now deprecated. Vite now uses Rolldown to optimize the dependencies. Please use `optimizeDeps.rollupOptions` instead.
It took me quite a long time to figure out, that it's not me using said option; in fact, it's @vitejs/plugin-react
. It would be very helpful to include the name of the plugin causing issues in the warning message itself.
Reproduction
https://stackblitz.com/edit/vitejs-rolldown-vite-qpp6r4kq?file=package.json,vite.config.ts
Steps to reproduce
No response
System Info
System:
OS: macOS 15.5
CPU: (10) arm64 Apple M1 Max
Memory: 959.13 MB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.0.2 - /usr/local/bin/node
Yarn: 4.9.1 - /usr/local/bin/yarn
npm: 11.3.0 - /usr/local/bin/npm
npmPackages:
@vitejs/plugin-basic-ssl: ^1.2.0 => 1.2.0
@vitejs/plugin-react: ^4.3.4 => 4.3.4
rolldown-vite: 6.3.14
Used Package Manager
yarn
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs and the Rolldown-related guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.