refactor(sourcemap): improve sourcemap visualization code#13177
refactor(sourcemap): improve sourcemap visualization code#13177graphite-app[bot] merged 1 commit intomainfrom
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull Request Overview
This PR refactors sourcemap visualization code by consolidating functionality from a standalone example into the main codegen example and updating the API to use more descriptive method names.
- Removed the dedicated
sourcemap.rsexample file - Updated the
codegen.rsexample to include sourcemap visualization capabilities - Changed method name from
into_visualizer_text()toget_text()for better clarity
Reviewed Changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| crates/oxc_transformer_plugins/tests/integrations/replace_global_defines.rs | Updated method call to use the new get_text() API |
| crates/oxc_codegen/examples/sourcemap.rs | Removed entire file as functionality was consolidated |
| crates/oxc_codegen/examples/codegen.rs | Added sourcemap support with visualization using the new API |
| crates/oxc_codegen/Cargo.toml | Removed unused base64 dependency |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Merge activity
|
CodSpeed Instrumentation Performance ReportMerging #13177 will not alter performanceComparing Summary
Footnotes |
aee0b57 to
3548cf4
Compare

No description provided.