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
fix: prevent double dist substitution in worker path resolution (#508)
When workerPool.ts runs from dist/, the existing logic would
incorrectly try to replace 'src' with 'dist' again, leading to
malformed paths like dist/utils/main/dist/utils/main/worker.js.
Now checks if 'dist' already exists in the path before performing
the src->dist replacement, ensuring correct worker resolution in
both development (src/) and production (dist/) contexts.
0 commit comments