【发布时间】:2016-11-18 10:17:50
【问题描述】:
我有两个 ts 配置文件的解决方案。 该解决方案具有such 文件夹结构。
根 tsconfig.json:
{
"compilerOptions": {
"declaration": true,
"outFile": "Test/Namespace.js"
}
}
Test\tsconfig.json 为空。
Test.ts 只有在创建 Namespace.d.ts 时才能正常工作,但在这种情况下构建会崩溃。很明显的原因是编译顺序,Test\tsconfig.json 先编译。
有没有办法更改 tsconfig 文件的编译顺序,或者在其他 tsconfig 错误的情况下继续构建?
【问题讨论】:
标签: json visual-studio typescript tsconfig