Skip to content

[Bug]: export star statement is unstable #882

Open
@fi3ework

Description

@fi3ework

Version

System:
    OS: macOS 15.0.1
    CPU: (14) arm64 Apple M3 Max
    Memory: 145.75 MB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 134.0.6998.166
    Safari: 18.0.1

Details

The export star statement is not preserved as expected sometimes. There might be a race condition or repeated behavior in https://github.com/web-infra-dev/rspack/blob/bd3e1c202e600995afa2bfab48fcafeb846893cd/crates/rspack_plugin_library/src/modern_module_library_plugin.rs#L259.

Reproduce link

https://github.com/fi3ework-reproduction/rslib-export-star-random-bug

Reproduce Steps

see README of the repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RspackRspack related issue

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions