PR #5966 switched benchmark imports to ../../src/ paths that do not resolve at runtime. Restore common/* and browser/* imports (with benchmark-only tsconfig paths for typechecking) and NODE_PATH=./out on benchmark npm scripts so emitted requires resolve against out/. Fixes #5970 Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
32 lines
601 B
JSON
32 lines
601 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"dom",
|
|
"es2021",
|
|
],
|
|
"outDir": "../../out-test/benchmark",
|
|
"types": [
|
|
"../../node_modules/@types/node"
|
|
],
|
|
"moduleResolution": "nodenext",
|
|
"strict": false,
|
|
"target": "es2021",
|
|
"module": "nodenext",
|
|
"paths": {
|
|
"common/*": ["../../src/common/*"],
|
|
"browser/*": ["../../src/browser/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"./**/*",
|
|
"../../typings/xterm.d.ts"
|
|
],
|
|
"exclude": [
|
|
"../../**/*test.ts"
|
|
],
|
|
"references": [
|
|
{ "path": "../../src/common" },
|
|
{ "path": "../../src/browser" },
|
|
]
|
|
}
|