ds300 / ds300/react-native-typescript-transformer

Source map line number is shifted

Open
#48 20 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
656
Forks
47
PR merge metrics
No merged PRs in 30d

Description

This produces at least on Android

I am generating source maps but adding extra packager args in my `build.gradle` like this
```
project.ext.react = [
extraPackagerArgs: isCiBuilding
? ["--sourcemap-output", "pathtoMyFolder/index.android.bundle.map"]
: []
]
```

After that I just upload that source map file to Bugsnag which is my crashreporter. The crash gives me right file .tsx extension but the line is wrong.

Can you help me to solve this? How to start debugging this? Do I have to pass some arguments to transformer or something?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.