Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

babel plugin add location with absolute location #3033

Closed
1 task
charlzyx opened this issue Feb 24, 2022 · 3 comments
Closed
1 task

babel plugin add location with absolute location #3033

charlzyx opened this issue Feb 24, 2022 · 3 comments
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Needs review Issue is ready to be reviewed by a maintainer Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS

Comments

@charlzyx
Copy link

Description

after babel plugin used , my js bundle has some code like next line code, with absolute path,

open t.__location="/Users/xxxx/project/node_modules/react-native-gesture-handler/src/handlers/gestures/GestureDetector.tsx (232:2)

however, i'm woring on split react native bundler, this case my split bundle code not same with the common bundle, of course, reanimated is in the common, is it any use ? maybe replace it to relative path if no used.

Expected behavior

Actual behavior & steps to reproduce

Snack or minimal code example

Package versions

name version
react-native 0.67.3
react-native-reanimated 2.4.1
NodeJS 16.0
Xcode -
Java -
Gradle -
expo -

Affected platforms

  • [ x] Android
  • [ x] iOS
  • Web
@charlzyx charlzyx added the Needs review Issue is ready to be reviewed by a maintainer label Feb 24, 2022
@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Feb 24, 2022
@github-actions
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snippet of code, a snack or a link to a GitHub repository that reproduces the problem?

@github-actions github-actions bot added Platform: iOS This issue is specific to iOS Platform: Android This issue is specific to Android labels Feb 24, 2022
@github-actions
Copy link

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Snack or minimal code example section.

@github-actions github-actions bot added the Missing info The user didn't precise the problem enough label Feb 24, 2022
@piaskowyk
Copy link
Member

This one resolves you issue: #3141 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Needs review Issue is ready to be reviewed by a maintainer Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS
Projects
None yet
Development

No branches or pull requests

2 participants