workerize-loader icon indicating copy to clipboard operation
workerize-loader copied to clipboard

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

Open akgupta0777 opened this issue 4 years ago • 0 comments

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

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

akgupta0777 avatar Sep 15 '21 08:09 akgupta0777