worker.rollupOptions
is ignored if set in a plugin
#9205
Labels
feat: web workers
p3-downstream-blocker
Blocking the downstream ecosystem to work properly (priority)
Describe the bug
If I set
worker.rollupOptions
in myvite.config.js
I can control where workers are written to, but if it's set by a plugin, the configuration is discarded. This makes it hard for frameworks like SvelteKit to write them to a suitable location.Reproduction
https://github.com/Rich-Harris/vite-workers-repro
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: