Json Typescript的外部输出路径
我的项目结构如下:Json Typescript的外部输出路径,json,typescript,output,tsc,tsconfig,Json,Typescript,Output,Tsc,Tsconfig,我的项目结构如下: Root | +- /build | | | +- /server | | | +- /app | +- /source | +- /server | | | +-tsconfig.json | | | +-(typescript files) | +- /app | +- tsconfig.json | +- (typescript files) 我正试图通过以
Root
|
+- /build
| |
| +- /server
| |
| +- /app
|
+- /source
|
+- /server
| |
| +-tsconfig.json
| |
| +-(typescript files)
|
+- /app
|
+- tsconfig.json
|
+- (typescript files)
我正试图通过以下方式使用不同的tsconfig.json文件:
tsc -p <path>
它在名为build/server的源中创建文件夹
是否有一种方法可以导航到比指定的项目根目录更远的位置
"outDir": "./../build/server"