workerize-loader
workerize-loader copied to clipboard
🏗️ Automatically move a module into a Web Worker (Webpack loader)
I'm running into this in my react app (next.js) when trying to use the `workerize-loader!./myWorker`
I query a large Firebase collection in my app. I'd like to use `axios` in my app. But it is wrong ` // worker.js import axios from "axios"; import 'regenerator-runtime';...
I've recently switched to Svelte from React. In the Svelte world, rollup seems to be the preferred bundler. There is no equivalent to `workerize-loader` in rollup. Would it be possible...
I am getting the error "d is undefined" I think it is possibly just checking the variable d , I made a pull request. Sorry if I don't write clearly,...
I am using webpack with workerize-loader and this is my config. ``` rules: [ { test: /\.worker\.js$/, use: [ { loader: 'workerize-loader', options: { inline: true, name: '[name]', }, },...
Hi, Does the shared worker feature is planned ? I also think that it could be nice for your [Stockroom](https://github.com/developit/stockroom/)'s state management system
Its a bit difficult to write a definition file... any ideas how to handle that? Would be easier if the export was the factory function that returns the exported functions:...
Hi, First of all - thank you for a fantastic library to make web workers usable for more complex things :) Not sure this is the right place to ask,...
I tried initializing child web workers from a parent worker, and it seems to work well with the exception of the following error being thrown: ``` rpc-wrapper.js:20 Uncaught ReferenceError: document...
Hi[](https://nuxt.slack.com/messages/C3JC50TBP/)! Do you think you could include a way to pass [`Transferable`](https://developer.mozilla.org/en-US/docs/Web/API/Transferable) objects correctly? It would be great to be able to return a [`MessagePort`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort) so that the function can...