简体   繁体   中英

Azure Web App doesn't build typescript files

I have an ASP.NET Core project which has this structure:

- tsconfig.json
- app
 |- file1.ts
 |- file2.ts
 |- file3.ts
- wwwroot
 |- app
 |- index.html

tsconfig has these contents:

{
  "compilerOptions": {
    "noImplicitAny": false,
    "noEmitOnError": true,
    "removeComments": true,
    "sourceMap": true,
    "target": "es6",
    "module": "amd",
    "outFile": "wwwroot/app/app.js",
    "strictNullChecks": true
  },
  "compileOnSave": true
}

When I try to deploy this project from git to Azure Web App my .ts files don't get compiled. I thought Kudu can deal with Typescript already. Am I missing something?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM