{"library":"esbuild-plugin-inline-worker","type":"library","category":null,"description":"An esbuild plugin that inlines Web Worker code directly into the bundle, eliminating the need for a separate worker file. Version 0.1.1 is stable, with no recent updates. It supports importing .worker.js/.ts/.jsx/.tsx files to get a Worker constructor, bundling the worker code with a separate esbuild build. Unlike worker-loader for webpack, this plugin fully inlines the worker, making it ideal for libraries where worker file management is cumbersome. It ships TypeScript definitions and allows custom esbuild configuration for the worker build.","language":"javascript","status":"active","version":"0.1.1","tags":["javascript","workers","esbuild","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install esbuild-plugin-inline-worker","imports":["import inlineWorkerPlugin from 'esbuild-plugin-inline-worker'","import Worker from './example.worker.js'","inlineWorkerPlugin({ format: 'iife' })"]},{"cmd":"yarn add esbuild-plugin-inline-worker","imports":[]},{"cmd":"pnpm add esbuild-plugin-inline-worker","imports":[]}],"homepage":null,"github":"https://github.com/mitschabaude/esbuild-plugin-inline-worker","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-plugin-inline-worker","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}