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

feat: Implement workarounds for dealing with hermes bytecode #646

Merged
merged 5 commits into from
Feb 6, 2020

Conversation

Swatinem
Copy link
Member

@Swatinem Swatinem commented Feb 4, 2020

When encountering hermes bytecode, the file is cleared and flagged as minified source, that way it will get a correct sourcemap reference. Other than that, the update to sourcemap will make sure that the rewritten sourcemap will keep the x_facebook_sources scopes.

src/utils/sourcemaps.rs Outdated Show resolved Hide resolved
src/utils/sourcemaps.rs Show resolved Hide resolved
@HazAT
Copy link
Member

HazAT commented Feb 5, 2020

Confirmed, just tested it end to end, it works!

src/utils/sourcemaps.rs Outdated Show resolved Hide resolved
@Swatinem Swatinem changed the title WIP: feat: Implement workarounds for dealing with hermes bytecode feat: Implement workarounds for dealing with hermes bytecode Feb 6, 2020
@Swatinem Swatinem marked this pull request as ready for review February 6, 2020 08:46
@kamilogorek kamilogorek self-requested a review February 6, 2020 09:56
@Swatinem Swatinem merged commit 1eb8794 into master Feb 6, 2020
@Swatinem Swatinem deleted the hermes-sourcemaps branch February 6, 2020 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants