Repository navigation
feat(output): make output folding-friendly using #region - #1330
Merged
hyfdev merged 1 commit intoJun 3, 2024
Merged
Conversation
This was referenced Jun 3, 2024
Member
Author
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 06-04-refactor_rust_test_don_t_trim_bundle_output_keep_it_as_it_is #1330 +/- ##
===================================================================================================
Coverage 86.78% 86.78%
===================================================================================================
Files 137 137
Lines 7036 7038 +2
===================================================================================================
+ Hits 6106 6108 +2
Misses 930 930 ☔ View full report in Codecov by Sentry. |
hyfdev
force-pushed
the
06-04-feat_output_make_output_folding-friendly_using_region_
branch
from
June 3, 2024 17:34
25866bd to
8277e90
Compare
Contributor
Benchmarks Rust |
CodSpeed Performance ReportMerging #1330 will not alter performanceComparing Summary
|
This was referenced Jun 3, 2024
hyfdev
force-pushed
the
06-04-refactor_rust_test_don_t_trim_bundle_output_keep_it_as_it_is
branch
from
June 3, 2024 18:22
306291b to
12bae91
Compare
hyfdev
force-pushed
the
06-04-feat_output_make_output_folding-friendly_using_region_
branch
from
June 3, 2024 18:23
8277e90 to
e21f7cc
Compare
Base automatically changed from
06-04-refactor_rust_test_don_t_trim_bundle_output_keep_it_as_it_is
to
main
June 3, 2024 18:23
hyfdev
force-pushed
the
06-04-feat_output_make_output_folding-friendly_using_region_
branch
from
June 3, 2024 18:23
e21f7cc to
09ac115
Compare
✅ Deploy Preview for rolldown-rs canceled.
|
hyfdev
deleted the
06-04-feat_output_make_output_folding-friendly_using_region_
branch
June 3, 2024 18:24
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
Closes #1278.
Solved in https://youtrack.jetbrains.com/issue/WEB-13948/Display-region...-endregion-in-structure-view-in-TypeScript-and-JavaScript#focus=Comments-27-4077324.0-0