asp.net - Azure Web App不构建 typescript 文件

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

我有一个 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/

相关文章:

c# - 将动态生成的 GridView 放入 ASP.Net C# 中的特定 <div>

azure - Sitecore Azure 在 CA 和 CD 之间发布

azure - 如何将 Windows Azure VM 移动到不同的关联组?

javascript - AngularJS - 在外部 AngularJS 服务变量上使用 $watcher 时的奇怪行为

javascript - TypeScript 自动将类型转换为整数

javascript - 在哪里放置与类型相关的函数?

asp.net - 有什么方法可以通过查询字符串传递包含 '+' 的字符串

c# - asp gridview css 边框超出范围

javascript - js客户端与asp.net服务器通信

azure - 删除 Windows Azure 上 Orchard CMS 的 App_Data