Open ntucker opened 5 years ago
It is the same issue with https://github.com/duffman/tspath/issues/2.
@duffman wrote that it has been fixed v1.3.5. But the command-line script in the published package is still working wrong, because the script file in bin
field of package.json
still contains wrong code.
// package.json L:7
"bin": {
"tspath": "src/tspath.js"
},
// src/parser-engine.js L:98
this.appRoot = path.resolve(this.projectPath, this.projectOptions.baseUrl);
this.appRoot = path.resolve(this.appRoot, this.projectOptions.outDir);
I think this package is not being maintained.
Usually I build via
tsc --emitDeclarationOnly -p ./src
. This outputs ambient declarations to the lib folder. But for some reason tspath is try to go to src/lib instead.tsconfig.json