Azure Web App 不构建打字稿文件
Azure Web App doesn't build typescript files
我有一个 ASP.NET 具有以下结构的核心项目:
- tsconfig.json
- app
|- file1.ts
|- file2.ts
|- file3.ts
- wwwroot
|- app
|- index.html
tsconfig 有这些内容:
{
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": true,
"sourceMap": true,
"target": "es6",
"module": "amd",
"outFile": "wwwroot/app/app.js",
"strictNullChecks": true
},
"compileOnSave": true
}
当我尝试将这个项目从 git 部署到 Azure Web App 时,我的 .ts 文件没有被编译。我认为 Kudu 已经可以处理 Typescript。我错过了什么吗?
正如 David Ebbo 所说,对话已移至 https://github.com/projectkudu/kudu/issues/2156 并在那里解决。
我有一个 ASP.NET 具有以下结构的核心项目:
- tsconfig.json
- app
|- file1.ts
|- file2.ts
|- file3.ts
- wwwroot
|- app
|- index.html
tsconfig 有这些内容:
{
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": true,
"sourceMap": true,
"target": "es6",
"module": "amd",
"outFile": "wwwroot/app/app.js",
"strictNullChecks": true
},
"compileOnSave": true
}
当我尝试将这个项目从 git 部署到 Azure Web App 时,我的 .ts 文件没有被编译。我认为 Kudu 已经可以处理 Typescript。我错过了什么吗?
正如 David Ebbo 所说,对话已移至 https://github.com/projectkudu/kudu/issues/2156 并在那里解决。