Node Worker Support
I don’t see any mention on node’s worker_threads support. Is there any support planned?
Waiting for upstream vite implementation, check https://github.com/vitejs/vite/pull/3932
Waiting for upstream vite implementation, check vitejs/vite#3932
Thanks for referencing https://github.com/vitejs/vite/pull/3932. It doesn't appear there is likely to be movement on that PR for a few reasons:
- it's from 2021 - no new commits since 2021
nice-to-havelabel
I see your comment here: https://github.com/vitejs/vite/pull/3932#issuecomment-1879969295 where you reference electron-vite's worker plugin.
I actually tried that worker plugin as well as electron-vite's modulePath plugin before arriving at your repo. As I'm not too familiar with vite plugin development, I was unable to get them working in serve mode, but they do work in build mode.
I actually tried that worker plugin as well as electron-vite's modulePath plugin before arriving at your repo. As I'm not too familiar with vite plugin development, I was unable to get them working in serve mode, but they do work in build mode.
I'm not sure what you mean by 'serve' mode. Do you perhaps have a GitHub repo I could look at? I could try to quickly write a vite plugin to test it out. I've previously written a rollup plugin as well.