Automatically move a module into a Web Worker (Webpack loader) using proxies
npm install workerize-proxy-loaderThis is a fork. You probably want workerize-loader.
> This fork makes access to the worker methods available via an ES6 Proxy, allowing it to be used with packages generated by rollup.
``sh``
npm install -D workerize-proxy-loader
The API is identical to workerize-loader.
The inner workings here are heavily inspired by worker-loader. It's worth a read!
ES6 proxy fork by James K Nelson.