{"library":"vite-plugin-prebundle-workers","type":"library","category":null,"description":"A Vite plugin that bundles classic web workers during development, mirroring build-time behavior. Current stable version is 1.0.0, released with a single patch update. Key differentiator: it ensures workers are bundled in dev, preventing issues like missing imports that occur when using raw `new Worker(new URL(...))` patterns. Lightweight and simple, it builds on esbuild for fast bundling. Alternatives like `vite-plugin-worker` or manual handling are more complex or don't cover dev-time bundling. Includes filtering options via `include`/`exclude`.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","plugin","utility","worker","webworker","vite","vite-plugin"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-prebundle-workers","imports":["import prebundleWorkers from 'vite-plugin-prebundle-workers'","import type { PluginOptions } from 'vite-plugin-prebundle-workers'","prebundleWorkers({ configureEsBuild(id, config) { ... } })"]},{"cmd":"yarn add vite-plugin-prebundle-workers","imports":[]},{"cmd":"pnpm add vite-plugin-prebundle-workers","imports":[]}],"homepage":null,"github":"https://github.com/itsjohncs/vite-plugin-prebundle-workers","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-prebundle-workers","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}