{"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"],"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":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-plugin-prebundle-workers/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}