Commit 2f3f849
committed
fix(tsconfig): Set rootDir to centralize compilation output
Problem: TypeScript was creating .js and .js.map files next to source files
in new-extension/ and old-extension/ directories because tsconfig included
files from outside the project (../src/**/*.ts) without setting rootDir.
Solution: Add 'rootDir: ".."' to comparison-test-harness/tsconfig.json
This tells TypeScript the common ancestor of all included files, allowing
it to properly map the directory structure into outDir.
Before: adapter.js created at comparison-test-harness/new-extension/adapter.js
After: adapter.js created at comparison-test-harness/out/comparison-test-harness/new-extension/adapter.js1 parent 95c8969 commit 2f3f849
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments