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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
  • 2021-07-17
  • 2021-06-30
  • 2021-10-24
  • 2021-12-12
  • 2021-06-21
猜你喜欢
  • 2022-03-05
  • 2022-01-20
  • 2021-04-27
  • 2022-12-23
  • 2021-09-20
  • 2021-06-23
  • 2021-08-07
相关资源
相似解决方案