developit / developit/workerize-loader
Support for commonjs exports.xxx?
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 2.3k
- Forks
- 85
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Seems commonjs modules are not supported?
```js
module.exports.xxx = function () {
return 1
}
```
or
```js
exports.xxx = () => {
...
}
```
Is there a reason for this?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, webpack
- Domaine
- build-system, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100