{"library":"webworkify-webpack-dropin","type":"library","category":null,"description":"Launches web workers that can use require() in the browser with webpack. Version 1.1.9 is the latest stable release, with no active development. It works by bundling a separate entry point for the worker, allowing Node.js-style module loading inside workers. Compared to alternatives like worker-loader or native worker blob URLs, this library provides a simpler API that mimics the original webworkify but is compatible with webpack's bundling. It is primarily used in webpack-based projects that need inline workers without separate files.","language":"javascript","status":"active","version":"1.1.9","tags":["javascript","web","worker","webworker","background","browser","inline","runtime","webpack"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install webworkify-webpack-dropin","imports":["import work from 'webworkify-webpack'","let w = work(require('./worker.js'))","module.exports = function worker(self) { ... }"]},{"cmd":"yarn add webworkify-webpack-dropin","imports":[]},{"cmd":"pnpm add webworkify-webpack-dropin","imports":[]}],"homepage":null,"github":"https://github.com/Ambroos/webworkify-webpack","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webworkify-webpack-dropin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}