Skip to content

Comments

fix: exports from dynamically imported chunks are removed #4875

Merged
IWANABETHATGUY merged 2 commits intomainfrom
06-09-fix_4873_partial
Jun 9, 2025
Merged

fix: exports from dynamically imported chunks are removed #4875
IWANABETHATGUY merged 2 commits intomainfrom
06-09-fix_4873_partial

Conversation

@IWANABETHATGUY
Copy link
Member

@IWANABETHATGUY IWANABETHATGUY commented Jun 9, 2025

related to #4873

Copy link
Member Author

IWANABETHATGUY commented Jun 9, 2025

@IWANABETHATGUY IWANABETHATGUY force-pushed the 06-09-fix_4873_partial branch from 4df0215 to 25c883f Compare June 9, 2025 04:37
@IWANABETHATGUY IWANABETHATGUY force-pushed the 06-09-fix_4873_partial branch from 25c883f to 892383d Compare June 9, 2025 04:39
@IWANABETHATGUY IWANABETHATGUY marked this pull request as ready for review June 9, 2025 04:39
@hyf0
Copy link
Member

hyf0 commented Jun 9, 2025

Could you have a more meaningful title?

@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2025

Benchmarks Rust

  • target: 06-09-fix_put_preserveentrysignatures_under_config_instead_of_config.output_(53d1977)
  • pr: 06-09-fix_4873_partial(892383d)
group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.00     77.3±2.11ms        ? ?/sec    1.02     79.0±4.01ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.02     91.2±2.92ms        ? ?/sec    1.00     89.1±2.81ms        ? ?/sec
bundle/bundle@rome_ts                                        1.02    122.1±3.68ms        ? ?/sec    1.00    119.3±2.58ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.01    134.2±3.80ms        ? ?/sec    1.00    132.8±3.22ms        ? ?/sec
bundle/bundle@threejs                                        1.02     44.0±2.37ms        ? ?/sec    1.00     43.3±2.02ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.05     51.0±1.74ms        ? ?/sec    1.00     48.6±0.73ms        ? ?/sec
bundle/bundle@threejs10x                                     1.00    446.4±8.50ms        ? ?/sec    1.00    447.1±7.17ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.00    522.4±6.80ms        ? ?/sec    1.00    522.4±9.57ms        ? ?/sec
scan/scan@rome_ts                                            1.05    94.1±13.77ms        ? ?/sec    1.00     89.6±2.52ms        ? ?/sec
scan/scan@threejs                                            1.02     32.4±2.16ms        ? ?/sec    1.00     31.7±0.94ms        ? ?/sec
scan/scan@threejs10x                                         1.03    330.5±4.71ms        ? ?/sec    1.00    321.1±4.27ms        ? ?/sec

Base automatically changed from 06-09-fix_put_preserveentrysignatures_under_config_instead_of_config.output_ to main June 9, 2025 04:55
@IWANABETHATGUY IWANABETHATGUY changed the title fix: 4873 partial fix: exports from dynamically imported chunks are removed Jun 9, 2025
@IWANABETHATGUY IWANABETHATGUY added this pull request to the merge queue Jun 9, 2025
Merged via the queue into main with commit d373794 Jun 9, 2025
21 checks passed
@IWANABETHATGUY IWANABETHATGUY deleted the 06-09-fix_4873_partial branch June 9, 2025 05:25
Boshen pushed a commit that referenced this pull request Jun 10, 2025
## [1.0.0-beta.14] - 2025-06-10

### 💥 BREAKING CHANGES

- refactor!: move preserveEntrySignatures from output to input options
by @IWANABETHATGUY in
[#4871](#4871)

### 🚀 Features

- feat(strictExecutionOrder): no need to generate plain chunk imports
for addressing side effects by @hyf0 in
[#4890](#4890)
- feat: make wasm fallback plugin callable in node by @shulaoda in
[#4885](#4885)
- feat(rolldown_plugin_module_preload_polyfill): align with
`rolldown-vite` by @shulaoda in
[#4884](#4884)
- feat(attachDebugInfo): improve format and distinguish dynamic entries
by @hyf0 in [#4861](#4861)

### 🐛 Bug Fixes

- fix(binding): preserveModules infinity loop by @Brooooooklyn in
[#4879](#4879)
- fix: dynamic import does not return exports when
preserveEntrySignatures: false is set and the importee is an entry by
@IWANABETHATGUY in
[#4891](#4891)
- fix: preserveEntrySignatures panics with an edge case by
@IWANABETHATGUY in
[#4877](#4877)
- fix: directives are missing with `preserveModules` by @IWANABETHATGUY
in [#4876](#4876)
- fix: exports from dynamically imported chunks are removed by
@IWANABETHATGUY in
[#4875](#4875)

### 🚜 Refactor

- refactor: clearify Chunk entry kind by @IWANABETHATGUY in
[#4892](#4892)
- refactor(rolldown_plugin_build_import_analysis): align the logic with
`rolldown-vite` by @shulaoda in
[#4856](#4856)

### 📚 Documentation

- docs(contrib-guide): add HMR testing section by @sapphi-red in
[#4888](#4888)
- docs(guide): update release channels - remove nightly, add pkg.pr.new
by @Boshen in [#4881](#4881)

### 🧪 Testing

- test: rename `rolldown/topics/hmr/mutiply-entires` to snake case by
@sapphi-red in [#4889](#4889)
- test: add test for #4849 by @sapphi-red in
[#4887](#4887)
- test: setup infra for hmr tests by @sapphi-red in
[#4886](#4886)

### ⚙️ Miscellaneous Tasks

- ci: disable publish to nightly by @Boshen in
[#4874](#4874)
- ci: extend Vite tests timeout by @sapphi-red in
[#4870](#4870)
- fix publish-to-npm.yml by @Boshen

### ◀️ Revert

- revert: "refactor(rolldown_plugin_load_fallback): align with
rolldown-vite" by @shulaoda in
[#4868](#4868)

Co-authored-by: shulaoda <[email protected]>
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.

2 participants