Recently I am playing with brotli-webpack-plugin but I found that the generated pre-compressed vendor.HASH.js.br does not contain the content of _tmp_shared.HASH.js.
After searching in the source codes, I found that the content of _tmp_shared.HASH.js is appended to vendor.HASH.js at the very last second (the done compiler hook). But the brotli-webpack-plugin (and many other webpack plugins?) hooks on the emit compiler hook so it just never gets the correct/full source.
Ideally, "appending _tmp_shared.HASH.js to vendor.HASH.js" should be performed earlier?