Vite recently made a new release which handles workers import differently. https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#workers-using-standard-syntax I'd like to migrate to it so that we don't fall behind too much with direct dependency.