developit / developit/workerize-loader
Customizing worker bundles name results in "worker" word in file twice.
- Lenguaje dominante
- JavaScript
- Estrellas
- 2.3k
- Forks
- 85
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.

as you can see in above image worker word is coming twice.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start with the webpack rule shown in the issue and trace how workerize-loader applies its name option to the generated worker bundle. Reproduce the duplicate “worker” filename with the provided configuration, then verify that a custom name produces the expected filename without duplication.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, webpack
- Área
- build-system, tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100