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: fix ESM entryChunk depends on the runtimeChunk hash by xiaoxiaojx · Pull Request #19570 · webpack/webpack

Conversation

@xiaoxiaojx

@xiaoxiaojx xiaoxiaojx commented May 29, 2025 •
edited by alexander-akait
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

What kind of change does this PR introduce?
fixes #19439

Did you add tests for your changes?

Yes

Does this PR introduce a breaking change?

No
What needs to be documented once your changes are merged?

No

Sorry, something went wrong.

Uh oh!

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

All reactions
@codspeed

codspeed Bot commented May 29, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #19570 will degrade performances by 20%

Comparing fix/issue-19439 (4fdc0d2) with main (1b34181)

Summary

⚡ 3 improvements
❌ 2 regressions
✅ 128 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
❌ benchmark "cache-filesystem", scenario '{"name":"mode-development","mode":"development"}' 1.2 s 1.4 s -11.51%
⚡ benchmark "future-defaults", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 62.2 ms 47.2 ms +31.92%
❌ benchmark "many-chunks-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 49 ms 61.3 ms -20%
⚡ benchmark "many-chunks-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 61.9 ms 11.8 ms ×5.2
⚡ benchmark "many-modules-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 51.7 ms 11.3 ms ×4.6
All reactions

Sorry, something went wrong.

Uh oh!

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

@xiaoxiaojx
xiaoxiaojx force-pushed the fix/issue-19439 branch from 355ae0c to 8f3bb15 Compare May 29, 2025 10:50
@xiaoxiaojx xiaoxiaojx changed the title [WIP] fix: fix the case where an ESM entryChunk depends on the runtimeChunk… fix: fix ESM entryChunk depends on the runtimeChunk hash May 29, 2025
@xiaoxiaojx
xiaoxiaojx force-pushed the fix/issue-19439 branch 5 times, most recently from c2ee7a5 to 86d0942 Compare May 30, 2025 09:12
@xiaoxiaojx
fix: fix the case where an ESM entryChunk depends on the runtimeChunk…
4fdc0d2
… hash
@xiaoxiaojx
xiaoxiaojx force-pushed the fix/issue-19439 branch from 86d0942 to 4fdc0d2 Compare May 30, 2025 09:57
alexander-akait
alexander-akait approved these changes May 30, 2025
View reviewed changes
@alexander-akait

alexander-akait commented May 30, 2025

Copy link
Copy Markdown
Member

Good job, thank you

All reactions

Sorry, something went wrong.

Uh oh!

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

@alexander-akait
alexander-akait merged commit e805dc1 into main May 30, 2025
@alexander-akait
alexander-akait deleted the fix/issue-19439 branch May 30, 2025 12:30
3ru added a commit to 3ru/webpack that referenced this pull request Jun 2, 2025
@3ru
refactor: integrate getChunkInfo helper from webpack#19570
72511fb
3ru pushed a commit to 3ru/webpack that referenced this pull request Jul 1, 2025
@xiaoxiaojx @3ru
fix: fix the case where an ESM entryChunk depends on the runtimeChunk…
71df2fb
… hash (webpack#19570)
@xiaoxiaojx xiaoxiaojx mentioned this pull request Mar 27, 2026
fix: hash initial chunks before runtime chunks #20711
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@alexander-akait alexander-akait alexander-akait approved these changes

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.

Main chunk points to the wrong runtime chunk when using Module Federation

Uh oh!

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

2 participants

@xiaoxiaojx @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.