In development mode, as soon as I add more than one web worker, I get the warning: "Multiple assets emit different content to the same filename static/js/bundle.worker.js". It seems like my two web workers are both trying to write to the same bundle.worker.js file.
Alternatively, when performing a production build, everything seems to work fine and Webpack seems to understand that the two workers should be separate and places them in two different bundles.
Is there a way to configure this plugin so that Webpack knows to separate the web workers in different file bundles while in dev mode?
In development mode, as soon as I add more than one web worker, I get the warning: "Multiple assets emit different content to the same filename static/js/bundle.worker.js". It seems like my two web workers are both trying to write to the same bundle.worker.js file.
Alternatively, when performing a production build, everything seems to work fine and Webpack seems to understand that the two workers should be separate and places them in two different bundles.
Is there a way to configure this plugin so that Webpack knows to separate the web workers in different file bundles while in dev mode?