developit / developit/workerize-loader
Support for commonjs exports.xxx?
Đang mở
- 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ả
Seems commonjs modules are not supported?
```js
module.exports.xxx = function () {
return 1
}
```
or
```js
exports.xxx = () => {
...
}
```
Is there a reason 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
The issue names no files or tests. Start by reproducing both CommonJS examples through workerize-loader's webpack build path and inspect how module exports are handled. Done means both module.exports.xxx and exports.xxx forms work as shown, with their returned values available from the worker.
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, tooling
- Loại issue
- Tính năng
- Độ 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