【问题标题】:Azure Web App doesn't build typescript filesAzure Web App 不构建打字稿文件
【发布时间】:2016-09-27 13:15:00
【问题描述】:

我有一个具有这种结构的 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 了。我错过了什么吗?

【问题讨论】:

标签: asp.net azure typescript asp.net-core kudu


【解决方案1】:

正如 David Ebbo 所说,对话已移至 https://github.com/projectkudu/kudu/issues/2156 并在那里解决。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-09-07
    • 1970-01-01
    • 1970-01-01
    • 2018-06-16
    • 2019-04-19
    • 1970-01-01
    • 1970-01-01
    • 2021-03-24
    相关资源
    最近更新 更多