webpack / analyse

analyse web app for webpack stats
http://webpack.github.com/analyse
882 stars 138 forks source link

adds support for non numeric chunk id #45

Open jeantil opened 4 years ago

jeantil commented 4 years ago

Next.js generates chunks with non numeric ids which breaks chunk analysis.

This commit preserves the existing behaviour by handling numeric chunk identifiers but falls back to string identifiers if it can't decode the id as an int. Proper URI encoding has been accounted for.

you can find a zipped example stat.json with non-numeric identifiers attached to this PR which breaks analyse without this PR. stats.zip

jsf-clabot commented 4 years ago

CLA assistant check
All committers have signed the CLA.