-
-
Notifications
You must be signed in to change notification settings - Fork 613
Open
@Haringat
Description
- Rollup Plugin Name: Typescript
- Rollup Plugin Version: 12.3.0
- Rollup Version: 4.53.3
- Operating System (or Browser): Archlinux kernel 6.17.9
- Node Version: 22.21.1
- Link to reproduction (
⚠️ read below): https://stackblitz.com/edit/rollup-repro-sxnmzqs2?file=tsconfig.json
Expected Behavior
Each path reference inside the source map leads to a source file inside the source root.
Actual Behavior
The paths are invalid if a source root is specified and repeat the path to the source file after the path to the directory containing the source file (see dist/index.js.map inside the stackblitz)
Additional Information
If the sourceRoot option is removed from the compilerOptions, it works as expected.
Metadata
Metadata
Assignees
Labels
No labels