worker-loader icon indicating copy to clipboard operation
worker-loader copied to clipboard

A webpack loader that registers a script as a Web Worker

Results 18 worker-loader issues
Sort by recently updated
recently updated
newest added

the sharedworker for mutile tab,when every time inline `URL.createObjectURL` will produce new hash url, every tab will has a new sharedworker. ``` const source = 'importScript("https://anotherhost/worker.js")'; const url = 'data:application/javascript;base64,'...

This PR contains a: - [x] **bugfix** - [ ] new **feature** - [ ] **code refactor** - [ ] **test update** - [ ] **typo fix** - [ ]...

- Operating System: Windows 10 Pro - Node Version: v12.16.2 - NPM Version: 6.14.5 yarn: 1.22.4 - webpack Version: 4.43.0 - worker-loader Version: 2.0.0 ### Expected Behavior When pointing to...

priority: 4 (important)
severity: 4 (inconvenient)
semver: Patch
flag: Needs more info
type: Bug

This PR contains a: - [ ] **bugfix** - [x] new **feature** - [ ] **code refactor** - [ ] **test update** - [ ] **typo fix** - [ ]...

I am new in web worker. I want to find out whether I can use library or module in worker? I have tried to use import xxx, but I get...

``` // my.worker.js const ctx: Worker = self as any; ctx.terminate(); // not a function ``` but ``` // my.worker.js const ctx: Worker = self as any; ctx.close(); // works...

Documentation Is: - [x] Missing - [x] Needed - [ ] Confusing - [ ] Not Sure? ### Please Explain in Detail... Please add documentation on how to use this...

- Operating System: macOS Catalina 10.15.7 - Node Version: v10.13.0 - NPM Version: 6.14.9 - webpack Version: 4.46.0 - worker-loader Version: 3.0.8 ### Expected Behavior Should get no errors and...

- Operating System: macOS 12 - Node Version: 12.22.1 - NPM Version: 6.14.12 - webpack Version: 5.39.0 - worker-loader Version: 3.0.8 ### Feature Proposal `excludeImportee` option to exclude worker be...

- Operating System: Windows 10 - Node Version: 12.14.0 - NPM Version: 6.13.4 - webpack Version: 4.44.2 - worker-loader Version: 3.0.3 ### Expected Behavior Inline worker should execute in Edge...