GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(minify): fold more string, `String` and `>>>` operands when minifying JavaScript by aryanraj45 · Pull Request #23227 · webpack/webpack

fix(minify): fold more string, String and >>> operands when minifying JavaScript #23227

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.

Sign up for GitHub

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

Merged
alexander-akait merged 13 commits into webpack:main from aryanraj45:fix/minify-swc-gaps-8
Nov 10, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

fix(minify): fold more string, String and >>> operands when minifying JavaScript #23227

Changes from 1 commit
Commits
Show all changes
13 commits
Select commit Hold shift + click to select a range
44c225e
fix(minify): open a statement with the branch a folded conditional ke…
aryanraj45 Nov 7, 2026
1fd0145
fix(minify): join a string literal with the one opening the `+` added…
aryanraj45 Nov 8, 2026
51ed6e2
fix(minify): write a regexp a sequence in a template ends with as the…
aryanraj45 Nov 8, 2026
95fc803
fix(minify): print `String` of a value that is a string already as th…
aryanraj45 Nov 8, 2026
9d73f21
fix(minify): drop a `|0` an operand of `>>>` takes
aryanraj45 Nov 8, 2026
231a7d8
fix(minify): print a template of one substitution as that value added…
aryanraj45 Nov 8, 2026
f7e4cf6
test(minify): cover the string, `String` and `>>>` folds in a real build
aryanraj45 Nov 8, 2026
54cba5c
chore: add changeset for the string, `String` and `>>>` folds
aryanraj45 Nov 8, 2026
9f0afdc
test(minify): read a template folded to a string as one, and match it…
aryanraj45 Nov 8, 2026
f947dfc
test(minify): snapshot the invariants runner for the new fixtures
aryanraj45 Nov 8, 2026
689a023
test(minify): retire the swc and oxc gaps the string and template fol…
aryanraj45 Nov 9, 2026
d5e9457
test(minify): retire two deflate-header entries the string and templa…
aryanraj45 Nov 9, 2026
17214a5
fix(minify): keep a `|0` where dropping it defers an object's convers…
aryanraj45 Nov 9, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
test(minify): retire two deflate-header entries the string and templa…
…te folds shrink past
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@aryanraj45
aryanraj45 committed Nov 9, 2026
commit d5e94578518a6a8e36b9fa88024f01a4b4062222

There are no files selected for viewing

2 changes: 0 additions & 2 deletions 2 test/helpers/rivalSmallerByDesign.js
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ const BY_DESIGN = [
"swc exec: terser_harmony_issue_t80",
"swc exec: issue_6279_1",
"swc exec: issue_6279_2",
"oxc minifier: peephole/dead_code_elimination.rs:920",
"oxc minifier: peephole/fold_constants.rs:1380",
"oxc minifier: peephole/inline.rs:647",
"oxc minifier: peephole/minimize_conditions.rs:138",
"oxc minifier: peephole/minimize_exit_points.rs:183",
Expand Down
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.
You are visitor 01402809 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.