developit / developit/workerize-loader

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

未关闭
#120 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
2.3k
派生
85
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。