@haul-bundler/explore
v0.16.1
Published
Explore and analyse your React Native bundle
Downloads
1
Readme
@haul-bundler/explore
Wrapper for source-map-explorer that allows you to explore and analyse regular and RAM bundles for React Native.
Usage
Install module:
yarn add -D @haul-bundler/explore
Then you can run:
yarn haul-explore <bundle_path> <source_map_path> --[html | tsv | json] [filename]
<bundle_path>
and<source_map_path>
are required- Output type (
html | tsv | json
) is optional and set tohtml
by default - If
filename
is specified with output type (html | tsv | json
), the results will be saved to specified file, otherwise the results it will be shown in the browser
Examples
Regular iOS bundle
yarn haul-explore dist/main.jsbundle dist/main.jsbundle.map
Indexed RAM bundle (default RAM bundle for iOS)
yarn haul-explore dist/main.jsbundle dist/main.jsbundle.map
File RAM bundle (default RAM bundle for Arndroid)
yarn haul-explore dist/index.android.bundle dist/index.android.bundle.map