developit / developit/workerize-loader
Duplicate workers with inline and Webpack 5
- 主要語言
- JavaScript
- 星號
- 2.3k
- 分支
- 85
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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?
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
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.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript, webpack
- 領域
- build-system
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100