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

refactor: using sourcemap as sourcemap builder #11

Merged
merged 4 commits into from May 13, 2024
Merged

Conversation

underfin
Copy link
Contributor

@underfin underfin commented Mar 8, 2024

The pr using sourcemap as sourcemap builder. It will avoid some issue at rolldown.

  1. avoid different sourcemap crate and struct to cast.
  2. avoid return DecodedMap, because we need to encode vlq mapping to remapping.

hyf0
hyf0 previously approved these changes Mar 8, 2024
hyf0
hyf0 previously approved these changes Mar 12, 2024
@underfin
Copy link
Contributor Author

@hyf0 Could you merge this and publish a version?

@underfin underfin requested a review from hyf0 May 13, 2024 08:47
@hyf0 hyf0 merged commit 24e7c7e into main May 13, 2024
@underfin
Copy link
Contributor Author

@hyf0 Could you merge this and publish a version?

@underfin
Copy link
Contributor Author

I need it to creat mapping to same as magicString.generateMap({ hires: true, includeContent: true, source: id });

@underfin
Copy link
Contributor Author

Please wait publish version, i need to using oxc sourcemap

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

2 participants