developit / developit/workerize-loader

Customizing worker bundles name results in "worker" word in file twice.

Offen
#120 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2.3k
Forks
85
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I am using webpack with workerize-loader and this is my config.

```
rules: [
{
test: /\.worker\.js$/,
use: [
{
loader: 'workerize-loader',
options: {
inline: true,
name: '[name]',
},
},
```
I put name in options so that my worker files are comeup with a proper name not a content hash.but this results in the word worker twice in the filename.

![image](https://user-images.githubusercontent.com/51379307/133395459-bd210bf6-84f4-4ae3-8c93-3904462002ed.png)

as you can see in above image worker word is coming twice.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.