developit / developit/workerize-loader

Duplicate workers with inline and Webpack 5

Đang mở
#128 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
2.3k
Fork
85
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, webpack
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.