developit / developit/workerize-loader

Support for commonjs exports.xxx?

オープン
#20 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
2.3k
フォーク
85
PR マージ指標
30日以内にマージされた PR はありません

説明

Seems commonjs modules are not supported?

```js
module.exports.xxx = function () {
return 1
}
```
or
```js
exports.xxx = () => {
...
}

```

Is there a reason for this?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, webpack
領域
build-system, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。