developit / developit/workerize-loader

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

Open
#120 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
85
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.