developit / developit/workerize-loader
Duplicate workers with inline and Webpack 5
- Lingua principale
- JavaScript
- Stelle
- 2.3k
- Fork
- 85
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hey,
When using webpack 5 and the inline option (in the config). It seems like the worker is inlined and a separate [some hash].worker.js is produced. Simply deleting this worker.js file works fine (since the actual worker that is used is inlined). Just annoying to have to delete it every time i want to publish. Is there any known workaround for this?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by reproducing the reported behavior with webpack 5 and the inline option in the configuration, then trace how workerize-loader handles that option. Done means the worker is inlined without also producing a separate hash-named .worker.js file; the issue names no files or tests to start from.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, webpack
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100