Skip to content

[Bug]: same filenames are cause bundle error #1944

@Gehbt

Description

@Gehbt

Reproduction link or steps

with file directory and input: ["./index.js", "a/index.js"]

  • index.js
  • a
    └─index.js

mini repro

What is expected?

use rollup:
image

What is actually happening?

image

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 35.19 GB / 63.67 GB
  Binaries:
    Node: 20.12.2 - ~\AppData\Local\fnm_multishells\56692_1723391137579\node.EXE
    npm: 10.5.0 - ~\AppData\Local\fnm_multishells\56692_1723391137579\npm.CMD
    pnpm: 9.1.0 - ~\AppData\Local\fnm_multishells\56692_1723391137579\pnpm.CMD
    bun: 1.1.21 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (127.0.2651.74), ChromiumDev (128.0.2677.1)
    Internet Explorer: 11.0.22621.3527

Any additional comments?

No response

Metadata

Metadata

Assignees

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions