Summary
When using the upcoming version of Vite (either the vite-rolldown package, or the Vite 8 beta package) I get a build warning when using the vite-plugin-node-polyfills package. The build output shows:
You or a plugin you are using have set `optimizeDeps.esbuildOptions` but this option is now deprecated. Vite now uses Rolldown to optimize the dependencies. Please use `optimizeDeps.rollupOptions` instead.
Both esbuild and oxc options were set. oxc options will be used and esbuild options will be ignored.
To reproduce this, use either "vite": "npm:rolldown-vite@latest" or "vite": "npm:rolldown-vite@8.0.0-beta.5" in package.json (instead of Vite 7x).
Just a heads-up that it would be helpful to patch this once Vite 8 is out (or sooner if possible).
Thank you for maintaining the helpful package.