Skip to content

Commit 6fddb94

Browse files
committed
fix(types): correct rootDir in tsconfig.json
It looks like the default `rootDir` was `"."`, but for some reason, adding the `src/version.js` file changed the `rootDir` to `"./src/"`. Fixes: 9a42e3c Fixes: #803
1 parent f98b6f9 commit 6fddb94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
// next to the .js files
2020
// We can't use `dist/` as Vite will automatically overwrite it.
2121
"outDir": "dist-types",
22+
"rootDir": ".",
2223
// go to js file when using IDE functions like
2324
// "Go to Definition" in VSCode
2425
"declarationMap": true,

0 commit comments

Comments
 (0)