Skip to content

Commit bfba0f8

Browse files
committed
Silence TS 6.0 baseUrl deprecation triggered by tsup's dts build
tsup 8.5.1 unconditionally injects `baseUrl: "."` into its rollup-plugin-dts invocation, which trips TS5101 under TypeScript 6.0. There's no upstream fix yet, so opt into TypeScript's own escape hatch until tsup catches up.
1 parent 4529908 commit bfba0f8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
"paths": {
1212
"~": ["./src"],
1313
"~/*": ["./src/*"]
14-
}
14+
},
15+
16+
// NOTE Only temporarily needed, until https://github.com/egoist/tsup/pull/1390 gets merged
17+
"ignoreDeprecations": "6.0"
1518
},
1619
"include": ["src", "test"]
1720
}

0 commit comments

Comments
 (0)