npx-visualize-bundle
npx-visualize-bundle copied to clipboard
What are these unmapped?
npx visualize-bundle
downloads the bundle and sourcemap from the React Native packager.
This is largely going to be on the React Native packager end, rather than anything to do with npx-visualize-bundle
or the library it uses source-map-explorer
.
These unmapped bytes can be comments and assorted bundle artefacts produced by the RN packager. A minified bundle will have a much smaller percentage of unmapped bytes due to the minification process removing a lot of these bundle artefacts.
Thanks a lot to @levibuzolic!
In my case about 2/3 of the relative size of unmapped has vanished. There are still some unmapped ones, so I'm gonna leave the issue open unless the problem @KeithZhang has been solved for you.
@JonnyBurger How did it vanish?
@roots-ai With @levibuzolic's PR: https://github.com/JonnyBurger/npx-visualize-bundle/pull/7
@JonnyBurger Thanks
If I am still having umapped on --dev false
?