developit / developit/workerize-loader
Support for commonjs exports.xxx?
Open
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
Seems commonjs modules are not supported?
```js
module.exports.xxx = function () {
return 1
}
```
or
```js
exports.xxx = () => {
...
}
```
Is there a reason for this?
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100