developit / developit/workerize-loader

Duplicate workers with inline and Webpack 5

Ouverte
#128 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
2.3k
Forks
85
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, webpack
Domaine
build-system
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.