danvk / source-map-explorer

Analyze and debug space usage through source maps
Apache License 2.0
3.82k stars 100 forks source link

What does "unmapped" mean? #151

Closed IjzerenHein closed 4 years ago

IjzerenHein commented 4 years ago

For some kinds of projects (e.g. react-native) I often see large amounts on "unmapped" bytes. What does this mean? Any insight would be helpful.

nikolay-borzov commented 4 years ago

Quote from README

Unmapped code - code that is not referenced within the source map. Represented by [unmapped] in explore result. For example webpack keeps on-demand chunk's content unmapped.

kylecordes commented 4 years ago

It would be great if anyone has a tip on how to print out or display this unmapped section of the JavaScript, for cases where we don't know what it might be and looking at it may yield the answer.

IjzerenHein commented 4 years ago

I'd be interested in this as well. Perhaps we can put a bounty on it?