Skip to content

Commit ef08028

Browse files
committed
Stop using baseUrl in root tsconfig
`baseUrl` is not supposed to be used for catch-all resolutions. It's not recommended outside of AMD modules: https://www.typescriptlang.org/tsconfig#baseUrl microsoft/TypeScript#54743 has some more context.
1 parent c9f3813 commit ef08028

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tsconfig.base.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
"target": "ESNext",
1010
"esModuleInterop": true,
1111
"moduleResolution": "node",
12-
"baseUrl": ".",
1312
"types": ["react", "jest", "node", "trusted-types", "jest-extended"],
1413
"paths": {
15-
"development-sandbox": ["test/lib/development-sandbox"],
16-
"next-test-utils": ["test/lib/next-test-utils"],
17-
"amp-test-utils": ["test/lib/amp-test-utils"],
18-
"next-webdriver": ["test/lib/next-webdriver"],
19-
"e2e-utils": ["test/lib/e2e-utils"],
20-
"test-data-service/*": ["test/lib/test-data-service/*"],
21-
"test-log": ["test/lib/test-log"]
14+
"development-sandbox": ["./test/lib/development-sandbox"],
15+
"next-test-utils": ["./test/lib/next-test-utils"],
16+
"amp-test-utils": ["./test/lib/amp-test-utils"],
17+
"next-webdriver": ["./test/lib/next-webdriver"],
18+
"e2e-utils": ["./test/lib/e2e-utils"],
19+
"test-data-service/*": ["./test/lib/test-data-service/*"],
20+
"test-log": ["./test/lib/test-log"],
21+
"test/*": ["./test/*"]
2222
}
2323
}
2424
}

0 commit comments

Comments
 (0)