django-webpack / webpack-bundle-tracker

Spits out some stats about webpack compilation process to a file
MIT License
268 stars 107 forks source link

Issue when using BundleTracker for multiple webpack configuration #96

Closed TomekStaszkiewicz closed 3 years ago

TomekStaszkiewicz commented 3 years ago

I am in process of upgrading the webpack to v5. I encountered an issue after upgrading webpack-bundle-tracker. When I export multiple configurations from webpack config - it is a feature introduced in webpack 3 the new version of webpack-bundle-tracker does not work as expected. It randomly chooses only one configuration and creates stats for it. I use webpack5 and the issue occurs only on webpack-bundle-tracker1.0.0. I checked on version v0.4.3 and it works as expected.

I created a small reproduction for you

fjsj commented 3 years ago

Closed via #98, thanks!