esbuild-plugin-inline-worker

JSON →
library 0.1.1 ·javascript
verified Apr 27, 2026

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.

total hits 7
actors 2 distinct systems
last hit 6d ago human
GPTBot
2
Humans
2

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇬🇧 United Kingdom