You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vite's dynamic import system is great for most frontend development use cases however in some situations e.g. when developing complex worker scripts, it might be preferable to bundle the worker scripts even during development as starting a worker (e.g. via new Worker('....')) can be significantly (e.g. multiple seconds) slower.
Suggested solution
It would be great if there was an option to continuously bundle worker scripts during yarn dev (even if that means features like HMR etc won't work)
Description
Vite's dynamic
import
system is great for most frontend development use cases however in some situations e.g. when developing complex worker scripts, it might be preferable to bundle the worker scripts even during development as starting a worker (e.g. vianew Worker('....')
) can be significantly (e.g. multiple seconds) slower.Suggested solution
It would be great if there was an option to continuously bundle worker scripts during
yarn dev
(even if that means features like HMR etc won't work)Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: