Reproduction link or steps
Reproduction repo:
https://github.com/KTrain5169/rolldown-tsconfig-paths-repro
Reproduction steps and system info should be included in the README file.
What is expected?
No warning, and Rolldown resolves the paths correctly.
What is actually happening?
app\index.ts (1:26) [UNRESOLVED_IMPORT] Warning: Could not resolve '1/index' in app/index.ts
╭─[ app/index.ts:1:27 ]
│
1 │ import { function1 } from "1/index";
│ ────┬────
│ ╰────── Module not found, treating it as an external dependency
───╯
server\index.ts (1:26) [UNRESOLVED_IMPORT] Warning: Could not resolve '2/index' in server/index.ts
╭─[ server/index.ts:1:27 ]
│
1 │ import { function2 } from "2/index";
│ ────┬────
│ ╰────── Module not found, treating it as an external dependency
───╯
<DIR>/app.js chunk │ size: 0.09 kB
<DIR>/server.js chunk │ size: 0.09 kB
System Info
System:
OS: Windows 11 10.0.26200
CPU: (12) x64 13th Gen Intel(R) Core(TM) i5-1334U
Memory: 2.22 GB / 15.69 GB
Binaries:
Node: 22.14.0 - C:\Program Files\nodejs\node.EXE
npm: 11.7.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.30.0 - C:\Users\KT\AppData\Local\pnpm\pnpm.CMD
bun: 1.3.3 - C:\Users\KT\.bun\bin\bun.EXE
Browsers:
Chrome: 145.0.7632.117
Edge: Chromium (140.0.3485.54)
Firefox: 148.0 - C:\Program Files\Mozilla Firefox\firefox.exe
npmPackages:
rolldown: 1.0.0-rc.5 => 1.0.0-rc.5
Any additional comments?
#7177 has been closed as completed because a PR was merged that seems to have fixed it, which made me think I was doing something wrong, please tell me if that is what ends up being the case.
Reproduction link or steps
Reproduction repo:
https://github.com/KTrain5169/rolldown-tsconfig-paths-repro
Reproduction steps and system info should be included in the README file.
What is expected?
No warning, and Rolldown resolves the paths correctly.
What is actually happening?
System Info
System: OS: Windows 11 10.0.26200 CPU: (12) x64 13th Gen Intel(R) Core(TM) i5-1334U Memory: 2.22 GB / 15.69 GB Binaries: Node: 22.14.0 - C:\Program Files\nodejs\node.EXE npm: 11.7.0 - C:\Program Files\nodejs\npm.CMD pnpm: 10.30.0 - C:\Users\KT\AppData\Local\pnpm\pnpm.CMD bun: 1.3.3 - C:\Users\KT\.bun\bin\bun.EXE Browsers: Chrome: 145.0.7632.117 Edge: Chromium (140.0.3485.54) Firefox: 148.0 - C:\Program Files\Mozilla Firefox\firefox.exe npmPackages: rolldown: 1.0.0-rc.5 => 1.0.0-rc.5Any additional comments?
#7177 has been closed as completed because a PR was merged that seems to have fixed it, which made me think I was doing something wrong, please tell me if that is what ends up being the case.