Plugins like extract-text-webpack-plugin may cause multiple optimize-chunk-assets callbacks. This means that the uglify cache is often deleted before webpack gets around to uglifying actual JS chunks :/
Waiting for the done event guarantees that all chunks are processed before pruning the cache.
Coverage decreased (-2.0%) to 91.667% when pulling 09be30a281747a6519bcd0fd51e8a304f487fe67 on GoodForOneFare:prune-cache-after-compilation into 39fdb2591e11648e7d434bfdcad410a02c623b3a on gdborton:master.
Coverage increased (+3.6%) to 97.222% when pulling 4130c51a7196b6d4e884ba8a7f17e79cfe968011 on GoodForOneFare:prune-cache-after-compilation into 39fdb2591e11648e7d434bfdcad410a02c623b3a on gdborton:master.
Plugins like
extract-text-webpack-plugin
may cause multipleoptimize-chunk-assets
callbacks. This means that the uglify cache is often deleted before webpack gets around to uglifying actual JS chunks :/Waiting for the
done
event guarantees that all chunks are processed before pruning the cache.