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 — refactor: make cli faster by alexander-akait · Pull Request #4690 · webpack/webpack-cli

Conversation

@alexander-akait

@alexander-akait alexander-akait commented Mar 6, 2026

Copy link
Copy Markdown
Member

Summary

refactor - make cli faster by rewritting logic around commands and options loading

What kind of change does this PR introduce?

refactor

Did you add tests for your changes?

Existing

Does this PR introduce a breaking change?

Yes

If relevant, what needs to be documented once your changes are merged or what have you already documented?

No

Use of AI

No

Sorry, something went wrong.

Uh oh!

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

All reactions
alexander-akait added 11 commits March 5, 2026 21:00
@alexander-akait
refactor: make needWatchStdin private
87f596f
@alexander-akait
refactor: preload webpack for options
2e09a08
@alexander-akait
refactor: avoid extra unnecessary call
858351c
@alexander-akait
refactor: loadConfig
579dbf3
@alexander-akait
refactor: order methods and properties by common, webpack related and…
c659325
… webpack-cli related
@alexander-akait
refactor: order
18745c1
@alexander-akait
fix: performance for serve
2346c2c
@alexander-akait
refactor: commands code
3a7e7f9
@alexander-akait
refactor: move webpack-cli options to own
51223ab
@alexander-akait
refactor: options
0165073
@alexander-akait
refactor: options
621af89
@changeset-bot

changeset-bot Bot commented Mar 6, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 195bcc6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

All reactions

Sorry, something went wrong.

Uh oh!

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

alexander-akait added 6 commits March 6, 2026 22:37
@alexander-akait
refactor: fix logic
57f28c8
@alexander-akait
refactor: fix logic
ef74e80
@alexander-akait
test: refactor
8bd56d3
@alexander-akait
test: avoid extra output
76b92e5
@alexander-akait
test: fix
1d0049d
@alexander-akait
test: rewrite
a1df7ed
@codecov

codecov Bot commented Mar 7, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.55%. Comparing base (7c33558) to head (195bcc6).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4690   +/-   ##
=======================================
  Coverage   96.55%   96.55%           
=======================================
  Files           2        2           
  Lines          29       29           
  Branches        4        4           
=======================================
  Hits           28       28           
  Misses          1        1           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c33558...195bcc6. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
All reactions

Sorry, something went wrong.

Uh oh!

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

alexander-akait added 5 commits March 7, 2026 16:12
@alexander-akait
refactor: fix smoketests
0677fa5
@alexander-akait
refactor: resolve todo
fea5abc
@alexander-akait
refactor: code
3dca632
@alexander-akait
refactor: fix
05324a2
@alexander-akait
test: more
195bcc6
@alexander-akait
alexander-akait merged commit e434e98 into main Mar 7, 2026
18 checks passed

Uh oh!

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

@alexander-akait
alexander-akait deleted the last-refactor-make-avoid-extra-plugic-methods branch March 7, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

1 participant

@alexander-akait
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 01402775 — 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.