Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: webpack/webpack-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: [email protected]
Choose a base ref
...
head repository: webpack/webpack-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: [email protected]
Choose a head ref
  • 9 commits
  • 21 files changed
  • 5 contributors

Commits on Jul 3, 2026

  1. Configuration menu
    Copy the full SHA
    d122911 View commit details
    Browse the repository at this point in the history
  2. docs: update (#4789)

    Co-authored-by: alexander-akait <[email protected]>
    github-actions[bot] and alexander-akait authored Jul 3, 2026
    Configuration menu
    Copy the full SHA
    3bfa81c View commit details
    Browse the repository at this point in the history
  3. chore(deps): bump http-proxy-middleware from 2.0.9 to 2.0.10 (#4795)

    Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.9 to 2.0.10.
    - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
    - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.10/CHANGELOG.md)
    - [Commits](chimurai/http-proxy-middleware@v2.0.9...v2.0.10)
    
    ---
    updated-dependencies:
    - dependency-name: http-proxy-middleware
      dependency-version: 2.0.10
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 3, 2026
    Configuration menu
    Copy the full SHA
    6cafa00 View commit details
    Browse the repository at this point in the history
  4. feat: support tsx as a fallback loader for TypeScript and JSX configs (…

    …#4796)
    
    * feat: support tsx as a fallback loader for TypeScript configs
    
    Register `tsx/cjs` manually when the loaders known to `interpret` are
    unavailable. It cannot go through `interpret`/`rechoir`: the `tsx/cjs`
    entry point exists only in the package's `exports` map, which
    `rechoir`'s resolver (legacy `[email protected]`) does not support, so it is
    resolved with `createRequire` from the configuration file's location
    and required directly, installing its require hook.
    
    The loaders listed in `interpret` keep priority; `tsx` is tried only
    after all of them have failed. For `.mts`, which has no `interpret`
    entry at all, `tsx` is registered best-effort and the original error
    reporting is preserved when it is missing. When nothing works, the
    `tsx` resolution failure is appended to the existing loader failure
    list before "Please install one of them".
    
    The fixture shadows the `interpret` loaders with generated throwing
    stubs (kept out of the repository — `test/**/node_modules` is already
    ignored) so the tests exercise the real `tsx` package from the root
    dev dependencies for both `.ts` and `.mts` configurations.
    
    Co-Authored-By: Claude Fable 5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01Hv8piVkEGYdWzWoWCtMcif
    
    * feat: extend the tsx fallback loader to .jsx configurations
    
    `tsx/cjs` also installs a require hook for `.jsx` (esbuild transform,
    including `@jsx` pragma support), so offer it as a fallback there too
    when the `interpret` loaders (`@babel/register`, `sucrase`) are not
    installed.
    
    Co-Authored-By: Claude Fable 5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01Hv8piVkEGYdWzWoWCtMcif
    
    * fix: address Copilot review feedback
    
    - Normalize non-Error throws in the tsx registration so the
      error-reporting path can rely on `.message`.
    - Fix the pre-existing "Unable load" typo ("Unable to load").
    - Cover `.cts` (special-cased extension mapping) and `.tsx` (types and
      JSX together) in the fixture, alongside `.ts`, `.mts` and `.jsx`.
    
    Co-Authored-By: Claude Fable 5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01Hv8piVkEGYdWzWoWCtMcif
    
    ---------
    
    Co-authored-by: Claude <[email protected]>
    alexander-akait and claude authored Jul 3, 2026
    Configuration menu
    Copy the full SHA
    9a5fef9 View commit details
    Browse the repository at this point in the history
  5. test: update target flag tests for webpack 5.108 (#4797)

    webpack 5.108 introduces the universal, deno and bun targets and
    supports combining targets like node and web via universal ESM
    output, which broke the target flag tests:
    
    - update the "Unknown target" stderr snapshots to include the new
      universal, deno and bun entries
    - replace the "should throw an error for incompatible multiple
      targets" test with "should allow multiple different targets",
      since node + web now builds successfully
    - bump webpack to 5.108.3 in the lockfile so the snapshots match
      the installed version
    
    Fixes the failing CI on #4792 and unblocks #4795.
    
    
    Claude-Session: https://claude.ai/code/session_012iKSSr35Ue6UtyA6rcw6UA
    
    Co-authored-by: Claude <[email protected]>
    alexander-akait and claude authored Jul 3, 2026
    Configuration menu
    Copy the full SHA
    b4ea5a7 View commit details
    Browse the repository at this point in the history
  6. chore(deps-dev): bump the dependencies group across 1 directory with …

    …4 updates (#4798)
    
    Bumps the dependencies group with 4 updates in the / directory: [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core), [eslint](https://github.com/eslint/eslint), [js-yaml](https://github.com/nodeca/js-yaml) and [prettier](https://github.com/prettier/prettier).
    
    
    Updates `@swc/core` from 1.15.41 to 1.15.43
    - [Release notes](https://github.com/swc-project/swc/releases)
    - [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/swc-project/swc/commits/v1.15.43/packages/core)
    
    Updates `eslint` from 10.5.0 to 10.6.0
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Commits](eslint/eslint@v10.5.0...v10.6.0)
    
    Updates `js-yaml` from 5.0.0 to 5.2.1
    - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
    - [Commits](nodeca/js-yaml@5.0.0...5.2.1)
    
    Updates `prettier` from 3.8.4 to 3.9.4
    - [Release notes](https://github.com/prettier/prettier/releases)
    - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
    - [Commits](prettier/prettier@3.8.4...3.9.4)
    
    ---
    updated-dependencies:
    - dependency-name: "@swc/core"
      dependency-version: 1.15.43
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dependencies
    - dependency-name: eslint
      dependency-version: 10.6.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: js-yaml
      dependency-version: 5.2.1
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: dependencies
    - dependency-name: prettier
      dependency-version: 3.9.4
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: dependencies
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 3, 2026
    Configuration menu
    Copy the full SHA
    f896a9c View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2026

  1. chore(release): new release (#4794)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jul 4, 2026
    Configuration menu
    Copy the full SHA
    40b631f View commit details
    Browse the repository at this point in the history
  2. fix: CLIPlugin dynamic import interop under Bun (#4799)

    * fix: CLIPlugin dynamic import interop under Bun
    
    Bun honors the __esModule marker when dynamic-importing the compiled
    CJS, so the Node-interop double .default unwrap yields undefined and
    every build crashes with 'undefined is not a constructor'.
    
    * test: cover CLIPlugin import interop unwrap
    
    Mocks the cli-plugin module to the shape Bun's __esModule-aware interop
    produces (the class itself) and asserts a build still applies CLIPlugin.
    alexander-akait authored Jul 4, 2026
    Configuration menu
    Copy the full SHA
    97c5541 View commit details
    Browse the repository at this point in the history
  3. chore(release): new release (#4800)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jul 4, 2026
    Configuration menu
    Copy the full SHA
    71e34db View commit details
    Browse the repository at this point in the history
Loading