这是我的打字稿项目的配置文件:
{
"compilerOptions": {
"sourceMap": true,
"target": "es5",
"outFile": "js/app.js"
},
"files": [
"src/main.ts",
"src/bootstrap.ts",
"libs/phaser.d.ts"
],
"exclude": [
"docs",
"css",
"index.html"
]
}
VS Code给了我这个错误:
file: ‘file:///e%3A/Programming/TypeScript/tsconfig.json’
severity: ‘Error’ message: ‘No inputs were found in config file
‘e:/Programming/TypeScript/tsconfig.json’. Specified ‘include’
paths were ‘[“**/*”]’ and ‘exclude’ paths were
‘[“node_modules”,”bower_components”,”jspm_packages”]’.’ at: ‘1,1’
source: ‘js’
我用google搜索了Definition的tsconfig文件,但是我找不到这个错误的来源.我在这做错了什么?用tsc编译时,一切都很好.