Skip to content

Conversation

@xiaoxiaojx
Copy link
Member

What kind of change does this PR introduce?
Fixes #19767 The naming of functions exported within webpack cannot use "default" because the entryModule may have a default export.

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

@xiaoxiaojx xiaoxiaojx changed the title fix(esm): fix the failure export of internal function [WIP] fix(esm): fix the failure export of internal function Aug 4, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Aug 4, 2025

CodSpeed Performance Report

Merging #19768 will degrade performances by 96.79%

Comparing fix/esm_export (f78fb22) with main (f2228ea)

Summary

❌ 3 regressions
✅ 39 untouched benchmarks

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

Benchmarks breakdown

Benchmark BASE HEAD Change
benchmark "lodash", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 27.2 ms 846.4 ms -96.79%
benchmark "many-chunks-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 111 ms 401 ms -72.33%
benchmark "react", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 85.8 ms 118.6 ms -27.64%

@xiaoxiaojx xiaoxiaojx force-pushed the fix/esm_export branch 2 times, most recently from 1323f86 to d320334 Compare August 5, 2025 14:07
@xiaoxiaojx xiaoxiaojx changed the title [WIP] fix(esm): fix the failure export of internal function fix(esm): fix the failure export of internal function Aug 5, 2025
@alexander-akait alexander-akait merged commit af76497 into main Aug 6, 2025
80 of 82 checks passed
@alexander-akait alexander-akait deleted the fix/esm_export branch August 6, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code Splitting not export default

2 participants