我有一个 ASP.NET Core 项目,其结构如下:
- 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 - Azure Web App不构建 typescript 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39725656/