developit / developit/workerize-loader

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

Aperta
#120 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2.3k
Fork
85
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.