@haul-bundler/explore

0.16.1 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @haul-bundler/explore

Weekly Downloads

1

Version

0.16.1

License

MIT

Unpacked Size

22.8 kB

Total Files

16

Last publish

Collaborators

  • zamotany
  • thymikee
  • dratwas