Repository navigation
Conversation
Member
Author
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
✅ Deploy Preview for rolldown-rs canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1278 +/- ##
=======================================
Coverage 87.49% 87.50%
=======================================
Files 134 134
Lines 6598 6601 +3
=======================================
+ Hits 5773 5776 +3
Misses 825 825 ☔ View full report in Codecov by Sentry. |
#region#region
Contributor
Benchmarks Rust |
hyfdev
force-pushed
the
05-29-feat_output_wrap_pretty_module_path_in_region_
branch
from
May 29, 2024 10:43
674f0b3 to
f01c059
Compare
Member
Author
|
I'm gonna close this PR for now due to main-stream IDE use different keywords. Will re-open it if there is any universal solution. |
CodSpeed Performance ReportMerging #1278 will not alter performanceComparing Summary
|
Brooooooklyn
deleted the
05-29-feat_output_wrap_pretty_module_path_in_region_
branch
January 17, 2025 05:07
IWANABETHATGUY
added a commit
that referenced
this pull request
Oct 20, 2026
… pairs (#11235) `experimental.attachDebugInfo: 'simple'` (the default) now writes a `// <module id>` line where each module starts, like esbuild and Bun, and no longer wraps each module in `//#region` / `//#endregion`. The pairs came in with #1278 / #1330 so that VS Code and WebStorm can fold each module of the output. Today few people read bundler output in an editor, but agents read it often, and for an agent the pairs are only extra tokens. The start line keeps the part that is still useful: which file the code comes from. The test harness used `//#endregion` to find where the runtime ends, so `HiddenModuleMarkersPlugin` now wraps only the hidden modules in a temporary region pair before the minify pass. Other markers are no longer protected from the dce-only pass, so snapshots drop the same markers that production builds drop. Vite's `rolldown-canary` tests check the old markers, so they need an update there.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
With
#regionWithout
#region. If the bundling code is pure esm, the folded output code will be more ugly.