0.16.1 • Published 3 years ago

@haul-bundler/explore v0.16.1

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

@haul-bundler/explore

Version

PRs Welcome MIT License Chat Code of Conduct

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 to html 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