Skip to content

[Bug]: codeSplitting groups name function context is missing meta information #8924

Description

@maiieul

Reproduction link or steps

https://repl.rolldown.rs/#eNptUsturDAM/RUrGwaJZqZbqt79XXTVZdNFRAxKJ8Q0mLbSiH9vwqOA2iwSbB/bh2PfRC3KmwjknKFPLyvytW3kW5+8XpR/RQpRxQB+dRQYDNZ6cAw35QGs7wYuIZPnVlsfsVmR3J0bGuv7El6SBTM2Ha9bjPD3T3u9c/aKMzwdDtr3NYX2VJHBAqzJtzSASKbnDYQGHvfhBIhZe0eLrEu4MfaRoBLpVWLcELvPVJwcSkfNKfvpkSUSxb5n/rDlBOQh+H10jY0Ljfl9nW4aeBJqoZzIPnfOMlvf/HgBmkBDt8l2kG6T75RoVfyVw+O/Y3zVqSUzOIwSRZRskJ8m+7+vKebmx4zzGahDH+f6AUzketDegCO6gua9NKBrxgAa+lY7B2gsy9/NVx2VmEkoUSx0Dn1XkQ6TmLVag+kexViIZbXWBV3NeSuVt+20l0rIs8FOiTgk5Q8jTRlZGl7MQVFyGDCWjeBd1cWaix5/ZKqaP4gxJn3E6L28yMtdqOT9RYzfaDn+Ag==

What is expected?

codeSplitting groups name function context should provide access to meta information passed from previous hooks.

What is actually happening?

meta is undefined.

System Info

System:
    OS: macOS 26.2
    CPU: (12) arm64 Apple M4 Pro
    Memory: 5.08 GB / 48.00 GB
    Shell: 3.7.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 24.11.1 - /Users/maieul/.local/state/fnm_multishells/76334_1774358139384/bin/node
    npm: 11.6.2 - /Users/maieul/.local/state/fnm_multishells/76334_1774358139384/bin/npm
    pnpm: 10.17.1 - /usr/local/bin/pnpm
    bun: 1.1.0 - /Users/maieul/.bun/bin/bun
  Browsers:
    Chrome: 146.0.7680.165
    Safari: 26.2

Any additional comments?

We use this in Qwik v1 with Rollup's manualChunks to group back related segments chunks together. With Vite 8 and Rolldown we had to create our own internal Map to keep the information we gather during the transform hook.

Edit: using rolldown 1.0.0-rc.10 because .11 and .12 are broken for me.

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions