Closed JEphron closed 4 years ago
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it!
and we'll verify it.
ℹ️ Googlers: Go here for more info.
I'm actually wondering if we should be using output.chunkFilename
here instead.
A static value for
output.filename
in the Webpack config will cause issues when multiple workers are used. Webpack does warn about this by printingWARNING in Conflict: Multiple assets emit different content to the same filename
, but it took some digging to discover why.Issue https://github.com/GoogleChromeLabs/worker-plugin/issues/24 discusses this problem, but I would have spent less time being confused if the "dynamic filename" requirement was mentioned in the documentation.