tsconfig.json No inputs were found in config file

Build:No inputs were found in config file '/tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '["../wwwroot/app","node_modules/*"]'

解决方案,其实只要在 include目录中,任意新增一个ts文件即可通过编译。

tsconfig.json 如下:

{
  "compilerOptions": {
    "noImplicitAny": false,
    "noEmitOnError": true,
    "removeComments": false,
    "sourceMap": true,
    "target": "es5"
  },
  "include": [
    "src/**/*"
  ],
  "exclude": [
    "node_modules",
    "wwwroot"
  ]
}
View Code

 

posted @ 2017-03-20 06:14  shuzhen.yu  阅读(9441)  评论(0编辑  收藏  举报