Skip to content

Generate/ find the source map file #5

@jessieAnhNguyen

Description

@jessieAnhNguyen

Suggestions from Ram:

  1. Check if Dev mode or Prod Mode: 1 of 2 ways
  • Check if metro is running
  • Download bundle file on the device from APP_DIR/assets, and check if this file is minified (better option).
  1. Generate source maps using react-native bundle --minify={isProdMode}: 1 of 2 ways
  • ExecSync Out
  • require('react-native') and then generate the source map

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions